Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Add-VBREC2BackupCopyJob

Short Description

Creates backup copy jobs for backups of Amazon EC2 instances.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise Plus

Syntax

Add-VBREC2BackupCopyJob -Backup <CBackup[]> [-Name <string>] [-Description <string>] [-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 that copy the backups from Amazon S3 external repositories to target repositories.

Add-VBREC2BackupCopyJob Note:

The cmdlet creates jobs in a disabled state. Run Enable-VBRJob to enable jobs.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Backup

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

Accepts the CBackup[] type.

True

Named

True (ByValue)

 

Name

Specifies a name of a backup copy job.

False

Named

False

 

Description

Specifies a description of a backup copy job.

False

Named

False

 

Repository

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

Accepts the CBackupRepository type.

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 type.

False

Named

False

 

RetentionPolicy

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

Accepts the VBRRetentionPolicy type.

False

Named

False

 

BackupWindowOptions

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

Accepts the VBRBackupWindowOptions type.

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example

This example shows how to create a backup copy job.

  1. Run Get-VBRBackup to get a backup of EC2 instances that you want to copy. Save the result to the $instance variable.
  2. Run Add-VBREC2BackupCopyJob with the $instance variable.

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

Add-VBREC2BackupCopyJob -Backup $instance

Related Commands

Get-VBRBackup

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation