Retry-VBRMoveBackupSession
Short Description
Retries the move operation for failed workloads.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Retry-VBRMoveBackupSession -Session <VBRMoveBackupSession> [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet retries the move 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 move 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 VBRMoveBackupSession object that contains settings of the move session.
Examples
Retrying Move Operation
This example shows how to retry the move operation for failed workloads.
|
$backup = Get-VBRBackup $repository = Get-VBRBackupRepository $session = Move-VBRBackup -Backup $backup -Repository $repository Retry-VBRMoveBackupSession -Session $session |
Perform the following steps:
- Run the
Get-VBRBackupReturns backups. cmdlet. Save the result to the$backupvariable. - Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Save the result to the$repositoryvariable. - Run the
Move-VBRBackupMoves all backups of a job to another repository or specific workloads and their backups to another job. cmdlet. Set the$backupvariable as theBackupparameter value. Set the$repositoryvariable as theRepositoryparameter value. Save the result to the$sessionvariable. - Run the
Retry-VBRMoveBackupSessioncmdlet. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VBRBackupReturns backups.Get-VBRBackupRepositoryReturns a list of backup repositories.Move-VBRBackupMoves all backups of a job to another repository or specific workloads and their backups to another job.