Set-VBRViReplicaJob
Short Description
Modifies VMware replication jobs.
Platform: VMware
For Hyper-V, run the Set-VBRHvReplicaJobModifies Hyper-V replication jobs. cmdlet.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRViReplicaJob -Job <CBackupJob> [-Name <String>] [-Server <Object>] [-Entity <IViItem[]>] [-Datastore <VBRViDatastoreBase>] [-ResourcePool <CViResourcePoolItem>] [-Folder <CViFolderItem>] [-Suffix <String>] [-BackupRepository <CBackupRepository>] [-Description <String>] [-EnableNetworkMapping] [-SourceNetwork <VBRViNetworkInfo[]>] [-TargetNetwork <VBRViNetworkInfo[]>] [-SourceProxy <CViProxy[]>] [-TargetProxy <CViProxy[]>] [-UseWANAccelerator] [-SourceWANAccelerator <CWanAccelerator>] [-TargetWANAccelerator <CWanAccelerator>] [-RestorePointsToKeep <Int32>] [-ReplicateFromBackup] [-SourceRepository <CBackupRepository[]>] [-EnableReIp] [-ReIpRule <IViReIpRule[]>] [-DiskType <EDiskCreationMode>] [-EnableSeeding] [-RepositorySeed <CBackupRepository>] [-EnableVMMapping] [-OriginalVM <CViVmItem[]>] [-ReplicaVM <CViVmItem[]>] [-Force] [-HighPriority] [<CommonParameters>] |
Detailed Description
This cmdlet modifies an existing VMware replication job.
Note |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupRepository |
Specifies the backup repository that will be used to store replica metadata files. Default: Default backup repository.
Accepts the |
|
False |
Named |
False |
|
Datastore |
Specifies the 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 format that will be used to restore replica disk files:
Default: |
|
False |
Named |
False |
|
EnableNetworkMapping |
Enables network mapping. Use the |
|
False |
Named |
False |
|
EnableReIp |
Enables the option to use the re-IP rules. Use the |
|
False |
Named |
False |
|
EnableSeeding |
Enables the option to use seeding for this replication job. |
|
False |
Named |
False |
|
EnableVMMapping |
Enables the option to use replica mapping for this replication job. |
|
False |
Named |
False |
|
Entity |
Specifies the array of VMs you want to add to this job.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
Folder |
Specifies the folder to which you want to replicate.
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 replication job you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies the name you want to assign to the 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 |
|
ReIpRule |
Specifies the re-IP rules.
Accepts the |
|
False |
Named |
False |
|
ReplicateFromBackup |
For building replica from backup files.
If set to |
|
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 where the seed (the full backup) resides.
Accepts the |
|
False |
Named |
False |
|
ResourcePool |
Specifies the resource pool to which you want to replicate.
Accepts the |
|
False |
Named |
False |
|
RestorePointsToKeep |
Specifies the number of restore points you want to keep.
Permitted values:
Default: |
|
False |
Named |
False |
|
Server |
Specifies the target host where the created replica will be stored.
Accepts the |
|
False |
Named |
False |
|
SourceNetwork |
For network mapping. Specifies the array of 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 you want to assign to the job. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
|
SourceRepository |
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. Remember to set the pair of source and target WAN accelerators. Default: Not set.
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. Default: "_replica". |
|
False |
Named |
False |
|
TargetNetwork |
For network mapping. Specifies the array of networks in the DR 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 |
|
|
TargetProxy |
Specifies the target proxy you want to assign to the job. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
|
TargetWANAccelerator |
Specifies the WAN accelerator configured in the target site that will be used for data transfer. Remember to set the pair of source and target WAN accelerators. Default: Not set.
Accepts the |
False |
Named |
False |
|
|
UseWANAccelerator |
Defines that the data will 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.
Output Object
CBackupJob
Examples
Example 1. Configuring Re-IP Rule for Replication Job
|
This example shows how to configure a re-IP rule for a replication job.
Perform the following steps:
|
Example 2. Configuring Seeding for Replication Job
|
This example shows how to configure seeding for a replication job.
Perform the following steps:
|
Example 3. Configuring VM Mapping for Replication Job
|
This example shows how to configure VM mapping for a replication job.
Perform the following steps:
|
Related Commands
Get-VBRJobReturns existing jobs.Get-VBRServerReturns hosts connected to the backup infrastructure.Find-VBRViEntityLooks for VMware objects.Find-VBRViDatastoreLooks for VMware datastores.Find-VBRViResourcePoolReturns VMware resource pools.Find-VBRViFolderLooks for folders on a specified ESXi host.Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRViProxyReturns a list of VMware backup proxies.Get-VBRWANAcceleratorReturns WAN accelerators.Get-VBRViServerNetworkInfoReturns virtual networks for a VMware host.New-VBRViReplicaReIpRuleCreates a new VMware replica re-IPv4 rule.Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication.