Retry-VBRCopyBackupSession

Short Description

Retries the copy operation for failed workloads.

Applies to

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

Session

Specifies the copy session which you want to retry.

Accepts the VBRCopyBackupSession object. To get this object, run the Copy-VBRBackup cmdlet.

True

Named

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

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.

SwitchParameter

False

Named

False

Confirm

Defines that the cmdlet will display a prompt that asks if you want to continue running the command.

SwitchParameter

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:

  1. Run the Get-VBRBackup cmdlet. Save the result to the $backup variable.
  2. Run the Copy-VBRBackup cmdlet. Set the $backup variable as the Backup parameter value. Save the result to the $session variable.
  3. Run the Retry-VBRCopyBackupSession cmdlet. Set the $session variable as the Session parameter value.

Related Commands

Page updated 4/9/2024

Page content applies to build 12.3.0.310