Set-VBRViCloudReplicaJob
Short Description
Modifies a VMware cloud replication job.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRViCloudReplicaJob -Job <CBackupJob> [-Name <String>] [-Entity <IViItem[]>] [-Datastore <VBRCloudDatastore>] [-Suffix <String>] [-BackupRepository <CBackupRepository>] [-Description <String>] [-EnableNetworkMapping] [-SourceNetwork <VBRViNetworkInfo[]>] [-TargetNetwork <VBRCloudServerNetworkInfo[]>] [-SourceProxy <CViProxy[]>] [-UseWANAccelerator] [-SourceWANAccelerator <CWanAccelerator>] [-SourceRepository <CBackupRepository[]>] [-DiskType <EDiskCreationMode>] [-EnableSeeding] [-RepositorySeed <CBackupRepository>] [-EnableVMMapping] [-OriginalVM <CViVmItem[]>] [-ReplicaVM <COib[]>] [-Force] [-HighPriority] [<CommonParameters>] |
Detailed Description
This cmdlet modifies an existing VMware cloud replication job.
Note |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupRepository |
Specifies the backup repository which will be used to store replica metadata files. Default: default backup repository.
Accepts the |
|
False |
Named |
False |
|
Datastore |
Specifies the cloud datastore to which you want to replicate.
Accepts the |
False |
Named |
False |
|
|
Description |
Specifies the description of the new job. |
|
False |
Named |
False |
|
DiskType |
Specifies the disks that you want to replicate:
Default: |
|
False |
Named |
False |
|
EnableNetworkMapping |
Enables the network mapping. Use the |
|
False |
Named |
False |
|
EnableSeeding |
Defines if replica seeding must be used for the replication job. |
|
False |
Named |
False |
|
EnableVMMapping |
Enables the replication job to use replica mapping. |
|
False |
Named |
False |
|
Entity |
Specifies the array of VMs you want to add to the job.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
Force |
Defines that the cmdlet will modify the cloud replication job even if the geographic location of the VMs added to the job and the target cloud 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 replication job you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies the name you want to assign to the cloud replication job. |
|
False |
Named |
False |
|
OriginalVM |
For replica mapping. Specifies the production VM you want to replicate using replica mapping. The replication job will map this VM to a selected replica VM on the DR site.
Use the
Accepts the |
|
False |
Named |
False |
|
ReplicaVM |
For replica mapping. Specifies the VM on the DR site you want to use as the replication target. The replication job will map the production VM to this VM.
Use the
Accepts the |
|
False |
Named |
False |
|
RepositorySeed |
For replica seeding. Specifies the backup repository on which a backup used as a seed for the replication job resides.
Accepts the |
|
False |
Named |
False |
|
SourceNetwork |
Used to set the source network for the Specifies the production network to which VMs added to 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. Default: automatic selection.
Accepts the |
|
False |
Named |
False |
|
SourceRepository |
Used for building replica from backup files. Specifies the backup repository that will be used to read the VM data from the already existing backup chain.
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 |
|
|
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 |
Used to set the target network for the Specifies the network in the DR site to which VM replicas must be connected. Note: the number of the source and the target networks must be the same.
Accepts the |
False |
Named |
False |
|
|
UseWANAccelerator |
Defines that the data must be transferred via WAN accelerators.
Use the |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Changing Cloud Datastore for Cloud Replica Job
This example shows how to apply custom settings to the cloud replica job named Cloud Replica Job.
|
$job = Get-VBRJob -Name "Cloud Replica Job" $cloudServer = Get-VBRCloudServer -Name 104.45.95.227 $NewCloudDatastore = Get-VBRCloudDatastore -CloudServer $cloudServer -Name "CDEDatastore" Set-VBRViCloudReplicaJob -Job $job -Datastore $NewCloudDatastore |
Perform the following steps:
- Run the
Get-VBRJobReturns existing jobs. cmdlet. Specify theNameparameter value. Save the job to the$jobvariable. - Run the
Get-VBRCloudServerReturns cloud hosts allocated by a service provider. cmdlet. Specify theNameparameter value. Save the server to the$cloudServervariable. - Run the
Get-VBRCloudDatastoreReturns datastores or disk volumes allocated to you under your cloud resources. cmdlet. Set the$cloudServervariable as theCloudServerparameter value. Specify theNameparameter value. Save the datastore to the$NewCloudDatastorevariable. - Run the
Set-VBRViCloudReplicaJobcmdlet. Set the$jobvariable as theJobparameter value. Set the$NewCloudDatastorevariable as theDatastoreparameter value.
Related Commands
Get-VBRJobReturns existing jobs.Find-VBRViEntityLooks for VMware objects.Get-VBRCloudServerReturns cloud hosts allocated by a service provider.Get-VBRCloudDatastoreReturns datastores or disk volumes allocated to you under your cloud resources.Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRViServerNetworkInfoReturns virtual networks for a VMware host.Get-VBRViProxyReturns a list of VMware backup proxies.Get-VBRWANAcceleratorReturns WAN accelerators.Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication.