--- title: "Retry-VBRCopyUnstructuredBackupSession" description: "This cmdlet retries failed copy sessions for backups created by file backup jobs and object storage backup jobs. Data that was already copied is not copied again." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/retry-vbrcopyunstructuredbackupsession.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Unstructured Data Backup > Managing Unstructured Data Backups > Retry-VBRCopyUnstructuredBackupSession" dateModified: "2026-11-18" --- # Retry-VBRCopyUnstructuredBackupSession ## Short Description Retries failed copy sessions for backups created by file backup jobs and object storage backup jobs. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Retry-VBRCopyUnstructuredBackupSession -Session [-RunAsync] [] ``` ## Detailed Description This cmdlet retries failed copy sessions for backups created by file backup jobs and object storage backup jobs. Data that was already copied is not copied again. **Note**: You cannot retry a copy session in the following cases: - The session is still running or has completed successfully. - A retry of the same copy operation is already running. - The copy operation has already been completed by another retry. - The target repository no longer exists. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

RunAsync

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

SwitchParameter

False

Named

False

Session

Specifies the failed copy session.

Accepts the VBRSession object. To get this object, run the Copy-VBRUnstructuredBackup cmdlet.

VBRSession

True

Named

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the [`VBRSession`](vbrsession.md) object that contains settings of the new copy session. ## Examples ::: example ### Retrying Failed Copy Session This example shows how to retry a failed copy session. ``` $backup = Get-VBRUnstructuredBackup -Name "File Backup Job" $repository = Get-VBRBackupRepository -Name "Backup Repository 02" $session = Copy-VBRUnstructuredBackup -Backup $backup -BackupRepository $repository Retry-VBRCopyUnstructuredBackupSession -Session $session ``` Perform the following steps: 1. Run the [`Get-VBRUnstructuredBackup`](get-vbrunstructuredbackup.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$backup` variable. 2. Run the [`Get-VBRBackupRepository`](get-vbrbackuprepository.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$repository` variable. 3. Run the [`Copy-VBRUnstructuredBackup`](copy-vbrunstructuredbackup.md) cmdlet. Set the `$backup` variable as the `Backup` parameter value. Set the `$repository` variable as the `BackupRepository` parameter value. Save the result to the `$session` variable. 4. Run the `Retry-VBRCopyUnstructuredBackupSession` cmdlet. Set the `$session` variable as the `Session` parameter value. ::: ## Related Commands - [`Copy-VBRUnstructuredBackup`](copy-vbrunstructuredbackup.md) - [`Get-VBRBackupRepository`](get-vbrbackuprepository.md) - [`Get-VBRUnstructuredBackup`](get-vbrunstructuredbackup.md)