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
|
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 |
|
False |
Named |
False |
|
Description |
Specifies the description of a new job. |
|
False |
Named |
False |
|
DiskType |
Specifies the format that will be used to restore replica disk files:
Default: |
|
False |
Named |
False |
|
EnableNetworkMapping |
Enables the network mapping option. Use the following parameters to set the network mapping rules:
|
|
False |
Named |
False |
|
EnableSeeding |
Enables the replication job to use seeding. |
|
False |
Named |
False |
|
EnableVMMapping |
Enables the replication job to use replica mapping. |
|
False |
Named |
False |
|
Entity |
Specifies an array of VMs.The cmdlet will add the selected VMs to the Cloud Director replication job.
Accepts the |
|
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. |
|
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. |
|
False |
Named |
False |
|
Job |
Specifies the Cloud Director cloud replication job that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies the name that you want to assign to the cloud replication job |
|
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
Accepts the |
|
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
Accepts the |
|
False |
Named |
False |
|
RepositorySeed |
For replica seeding. Specifies the backup repository where the seed (the full backup) resides.
Accepts the |
|
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 |
False |
Named |
False |
|
|
SourceProxy |
Specifies the source proxy that will be used by the job.
Accepts the |
|
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 |
|
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 |
False |
Named |
False |
|
|
StoragePolicy |
Specifies the Cloud Director cloud storage policy. The job will create replicas per the policy settings.
Accepts the |
|
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 |
|
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 |
|
False |
Named |
False |
|
UseWANAccelerator |
Defines that the data will be transferred via WAN accelerators.
Use the |
|
False |
Named |
False |
|
vApp |
Specifies the vApp container. The job will store the replicas on the selected vApp.
Accepts the |
|
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:
- Run the
Get-VBRJobReturns existing jobs. cmdlet. Specify theNameparameter value. Save the result to the$replicaJobvariable. - Run the
Get-VBRvCDCloudOrganizationvDCReturns organization VDCs. cmdlet. Specify theNameparameter value. Save the result to the$vdcvariable. - Run the
Set-VBRvCDCloudReplicaJobcmdlet. Set the$replicajobvariable as theJobparameter value. Set the$vdcvariable as theOrganizationvDCparameter value.
Related Commands
Get-VBRJobReturns existing jobs.Get-VBRvCDCloudOrganizationvDCReturns organization VDCs.Get-VBRvCDCloudNetworkInfoReturns target VDC networks for replica mapping.Get-VBRvCDCloudStoragePolicyReturns Cloud Director storage policies.Get-VBRvCDCloudVMReturns cloud VMs from organization VDCs.