Set-VBRvCDCloudReplicaJob

Short Description

Modifies Cloud Director cloud replication jobs.

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRvCDCloudReplicaJob -Job <CBackupJob> [-Name <String>] [-Entity <IViItem[]>] [-vApp <VBRvCDCloudvApp>]

[-StoragePolicy <VBRvCDCloudStoragePolicy>] [-Suffix <String>] [-BackupRepository <CBackupRepository>]

[-Description <String>] [-EnableNetworkMapping] [-SourceNetwork <VBRViNetworkInfo[]>]

[-TargetNetwork <VBRvCDCloudNetworkInfo[]>] [-SourceProxy <CViProxy[]>] [-UseWANAccelerator]

[-SourceWANAccelerator <CWanAccelerator>] [-SourceRepository <CBackupRepository[]>]

[-DiskType <EDiskCreationMode>] [-EnableSeeding] [-RepositorySeed <CBackupRepository>] [-EnableVMMapping]

[-OriginalVM <CViVmItem[]>] [-ReplicaVM <VBRvCDCloudVM[]>] [-Force] [-HighPriority] [<CommonParameters>]

Detailed Description

This cmdlet modifies Cloud Director cloud replication jobs.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

BackupRepository

Specifies the user backup repository that will be used to store replica metadata files.

If not set, the default backup repository will be used.

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

CBackupRepository

False

Named

False

Description

Specifies the description of a new job.

String

False

Named

False

DiskType

Specifies the format that will be used to restore replica disk files:

  • Source: the restored replica disks will be the same format as source.
  • Thick: the restored replica disks will be thick.
  • Thin: the restored replica disks will be thin.

Default: Source.

EDiskCreationMode

False

Named

False

EnableNetworkMapping

Enables the network mapping option.

Use the following parameters to set the network mapping rules:

  • SourceNetwork
  • TargetNetwork

SwitchParameter

False

Named

False

EnableSeeding

Enables the replication job to use seeding.

SwitchParameter

False

Named

False

EnableVMMapping

Enables the replication job to use replica mapping.

SwitchParameter

False

Named

False

Entity

Specifies an array of VMs.The cmdlet will add the selected VMs to the Cloud Director replication job.

Accepts the IViItem[] object. To get this object, run the Find-VBRViEntityLooks for VMware objects. cmdlet.

IViItem[]

False

Named

False

Force

Defines that the cmdlet will modify the job even if the geographic location of the VMs added to the job and the target host location do not match.

SwitchParameter

False

Named

False

HighPriority

Defines that Veeam Backup & Replication will prioritize this job higher than other similar jobs and will allocate resources to it in the first place.

SwitchParameter

False

Named

False

Job

Specifies the Cloud Director cloud replication job that you want to modify.

Accepts the CBackupJob object. To get this object, run the Get-VBRJobReturns existing jobs. cmdlet.

CBackupJob

True

Named

True (ByPropertyName, ByValue)

Name

Specifies the name that you want to assign to the cloud replication job

String

False

Named

False

OriginalVM

For replica mapping.

Specifies an array of production VMs that you want to replicate using replica mapping.

The replication job will map these VMs to selected replica VMs on the Disaster Recovery site.

Use the ReplicaVM parameter to specify the replica VM on the Disaster Recovery site.

Accepts the CViVmItem[] object. To get this object, run the Find-VBRViEntityLooks for VMware objects. cmdlet.

CViVmItem[]

False

Named

False

ReplicaVM

For replica mapping.

Specifies an array of VMs on the Disaster Recovery site that you want to use as the replication target. The replication job will map the production VMs to these VMs.

Use the OriginalVM parameter to specify the production VM.

Accepts the VBRvCDCloudVM[] object. To get this object, run the Get-VBRvCDCloudVMReturns cloud VMs from organization VDCs. cmdlet.

VBRvCDCloudVM[]

False

Named

False

RepositorySeed

For replica seeding.

Specifies the backup repository where the seed (the full backup) resides.

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

CBackupRepository

False

Named

False

SourceNetwork

For the network mapping option.

Specifies an array of the production networks, to which the VMs in the job are connected.

Note: The number of the source and the target networks must be the same.

Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfoReturns virtual networks for a VMware host. cmdlet.

VBRViNetworkInfo[]

False

Named

False

SourceProxy

Specifies the source proxy that will be used by the job.

Accepts the CViProxy[] object. To get this object, run the Get-VBRViProxyReturns a list of VMware backup proxies. cmdlet.

CViProxy[]

False

Named

False

SourceRepository

Used for building a replica from backup files.

Specifies the backup repository that will be used to read the VM data from the already existing backup chain.

Note: You cannot specify a cloud repository.

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

CBackupRepository[]

False

Named

False

SourceWANAccelerator

Specifies the WAN accelerator configured in the source site that will be used for data transfer.

Note: You can set the source WAN accelerator only if the cloud provider has a target WAN accelerator configured.

Accepts the CWanAccelerator object. To get this object, run the Get-VBRWANAcceleratorReturns WAN accelerators. cmdlet.

CWanAccelerator

False

Named

False

StoragePolicy

Specifies the Cloud Director cloud storage policy. The job will create replicas per the policy settings.

Accepts the VBRvCDCloudStoragePolicy object. To get this object, run the Get-VBRvCDCloudStoragePolicyReturns Cloud Director storage policies. cmdlet.

VBRvCDCloudStoragePolicy

False

Named

False

Suffix

Specifies the suffix that will be appended to the name of the VM you are replicating. This name will be used to register the replicated VM on the target server.

If omitted, the replicated VMs will have the _replica suffix by default.

String

False

Named

False

TargetNetwork

For the network mapping option.

Specifies an array of networks on the Disaster Recovery site. The replicated VMs will be connected to these networks.

Note: The number of the source and the target networks must be the same.

Accepts the VBRvCDCloudNetworkInfo[] object. To get this object, run the Get-VBRvCDCloudNetworkInfoReturns target VDC networks for replica mapping. cmdlet.

VBRvCDCloudNetworkInfo[]

False

Named

False

UseWANAccelerator

Defines that the data will be transferred via WAN accelerators.

Use the SourceWANAccelerator and TargetWANAccelerator parameters to set the pair of WAN accelerators.

SwitchParameter

False

Named

False

vApp

Specifies the vApp container. The job will store the replicas on the selected vApp.

Accepts the VBRvCDCloudvApp object. To get this object, run the Get-VBRvCDCloudvAppReturns VDC vApps. cmdlet.

VBRvCDCloudvApp

False

Named

False

<CommonParameters>

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

Output Object

CBackupJob

Examples

Modifying Organization VDC for Cloud Director Cloud Replication Job

This example shows how to change the organization VDC for the ReplicavCDJob Cloud Director cloud replication job to the AtlanateOrg organization VDC.

$replicaJob = Get-VBRJob -Name "ReplicavCDJob"

$vdc = Get-VBRvCDCloudOrganizationvDC -Name "AtlanateOrg"

Set-VBRvCDCloudReplicaJob -Job $replicajob -OrganizationvDC $vdc

Perform the following steps:

  1. Run the Get-VBRJobReturns existing jobs. cmdlet. Specify the Name parameter value. Save the result to the $replicaJob variable.
  2. Run the Get-VBRvCDCloudOrganizationvDCReturns organization VDCs. cmdlet. Specify the Name parameter value. Save the result to the $vdc variable.
  3. Run the Set-VBRvCDCloudReplicaJob cmdlet. Set the $replicajob variable as the Job parameter value. Set the $vdc variable as the OrganizationvDC parameter value.

Page updated 2026-08-20

Page content applies to build 13.1.1.18