Retry-VBRCopyBackupSession
Short Description
Retries the copy operation for failed workloads.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Retry-VBRCopyBackupSession -Session <VBRCopyBackupSession> [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet retries the copy operation for failed workloads.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Session |
Specifies the copy session which you want to retry.
Accepts the |
True |
Named |
False |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRCopyBackupSession object that contains settings of the copy session.
Examples
Retrying Copy Operation
This example shows how to retry the copy operation for failed workloads.
|
$backup = Get-VBRBackup $session = Copy-VBRBackup -Backup $backup Retry-VBRCopyBackupSession -Session $session |
Perform the following steps:
- Run the
Get-VBRBackupReturns backups. cmdlet. Save the result to the$backupvariable. - Run the
Copy-VBRBackupCopies backups to a repository or local or shared folder. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$sessionvariable. - Run the
Retry-VBRCopyBackupSessioncmdlet. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VBRBackupReturns backups.Copy-VBRBackupCopies backups to a repository or local or shared folder.