Error Socket connection has been disposed
I am submitting restore jo using CLI, getting socket connection has been disposed error. How to resolve this
Get-BeJobHistory -FromLastJobRun -Name backup_definition_Full_790873-Full | Submit-BEFileSystemRestoreJob -RedirectToPath c:\tdir20100 -name restore_job7908_26409 -FileSystemSelection c:\temp\tdir60873 -Confirm:$false
Submit-BEFileSystemRestoreJob : The socket connection has been disposed.
At C:\temp\ps_cmd_file_883214.ps1:2 char:106
+ Get-BeJobHistory -FromLastJobRun -Name backup_definition_Full_790873-Full | S
ubmit-BEFileSystemRestoreJob <<< -RedirectToPath c:\tdir20100 -name restore_j
ob7908_26409 -FileSystemSelection c:\temp\tdir60873 -Confirm:$false
+ CategoryInfo : NotSpecified: (:) [Submit-BEFileSystemRestoreJob
], CommunicationObjectAbortedException
+ FullyQualifiedErrorId : CommunicationError,BackupExec.Management.CLI.Com
mands.SubmitBEFileSystemRestoreJobCommand
False
rc=0
Comments 2 Comments • Jump to latest comment
I think you need quotes.
Get-BeJobHistory -FromLastJobRun -Name backup_definition_Full_790873-Full | Submit-BEFileSystemRestoreJob -RedirectToPath "c:\tdir20100" -name restore_job7908_26409 -FileSystemSelection "c:\temp\tdir60873" -Confirm:$false
Also, how sure are you that the path "c:\temp\tdir60873" actually exists in your backup set.
Path exists. I think quotes are not required
Would you like to reply?
Login or Register to post your comment.