Add-VBREC2BackupCopyJob (obsolete)

Short Description

Creates backup copy jobs for backups of Amazon EC2 instances.

Note

This cmdlet is obsolete and only works for creating a simple mode backup copy job. It is recommended to create a new backup job using the Add-VBRBackupCopyJobCreates a backup copy job. cmdlet.

Platform: VMware, Hyper-V

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

Add-VBREC2BackupCopyJob [-Name <String>] [-Description <String>] -Backup <VBREC2Backup[]>

[-Repository <CBackupRepository>] [-RecoveryPointObjective <VBRRecoveryPointObjective>]

[-RetentionPolicy <VBRRetentionPolicy>] [-BackupWindowOptions <VBRBackupWindowOptions>] [<CommonParameters>]

Detailed Description

This cmdlet creates backup copy jobs for backups of Amazon EC2 instances. Backup copy jobs will copy the backups from Amazon S3 external repositories to target repositories.

Note

The cmdlet creates jobs in a disabled state. Run the Enable-VBRJobEnables a disabled job. cmdlet to enable jobs.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Backup

Specifies an array of EC2 instance backups that you want to copy.

Accepts the VBREC2Backup[] object. To get this object, run the Get-VBREC2BackupReturns EC2 instance backups. cmdlet.

VBREC2Backup[]

True

Named

True (ByValue)

BackupWindowOptions

Specifies the period of time when a backup copy job is allowed to run.

Accepts the VBRBackupWindowOptions object. To get this object, run the New-VBRBackupWindowOptionsDefines backup window settings for a job. cmdlet.

VBRBackupWindowOptions

False

Named

False

Description

Specifies a description of a backup copy job. The cmdlet will create the job with this description.

String

False

Named

False

Name

Specifies a name of a backup copy job. The cmdlet will create the job with this name.

String

False

Named

False

RecoveryPointObjective

Specifies a backup copy interval. The cmdlet will copy new restore points of EC2 instance backups to the target backup repository.

Accepts the VBRRecoveryPointObjective object. To create this object, run the New-VBRRecoveryPointObjectiveCreates an interval for backup copy jobs that process backups stored on external repositories. cmdlet.

VBRRecoveryPointObjective

False

Named

False

Repository

Specifies a target backup repository. The cmdlet will copy EC2 instance backups to this repository.

Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet.

CBackupRepository

False

Named

False

RetentionPolicy

Specifies a number of restore points to keep on a target backup repository.

Accepts the VBRRetentionPolicy object. To get this object, run the following cmdlets:

VBRRetentionPolicy

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Creating Backup Copy Job

This example shows how to create a backup copy job.

$instance = Get-VBREC2Backup -Name "VMEC2 Instance SRV10"

Add-VBREC2BackupCopyJob -Backup $instance

Perform the following steps:

  1. Run the Get-VBREC2BackupReturns EC2 instance backups. cmdlet. Specify the Name parameter value. Save the result to the $instance variable.
  2. Run the Add-VBREC2BackupCopyJob cmdlet. Set the $instance variable as the Backup parameter value.

Get-VBREC2BackupReturns EC2 instance backups.

Page updated 2026-08-19

Page content applies to build 13.1.1.18