Add-VBRvCDReplicaJob
Short Description
Creates Cloud Director replication jobs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRvCDReplicaJob -SourceObject <IVcdItem[]> -OrganizationVdc <CVcdOrganizationVdcItem> [-Name <String>] [-Description <String>] [-ExcludedObject <IVcdItem[]>] [-GeneralStoragePolicy <CVcdOrgVdcStorageProfile>] [-IndividualVAppStoragePolicy <VBRvCDIndividualObjectStoragePolicy[]>] [-SourceNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-TargetNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-MetadataRepository <CBackupRepository>] [-Suffix <String>] [-RestorePointsToKeep <Int32>] [-RepositorySeed <CBackupRepository>] [-OriginalVApp <CVcdVappItem[]>] [-ReplicaVApp <CVcdVappItem[]>] [-GuestProcessingOptions <VBRReplicaApplicationProcessingOptions>] [-SourceProxy <CViProxy[]>] [-TargetProxy <CViProxy[]>] [-SourceWanAccelerator <CWanAccelerator>] [-TargetWanAccelerator <CWanAccelerator>] [-ScheduleOptions <VBRServerScheduleOptions>] [-CompressionLevel <VBRCompressionLevel>] [-NotificationOptions <VBRNotificationOptions>] [-HighPriority] [<CommonParameters>] |
Detailed Description
This cmdlet creates Cloud Director replication jobs.
Note that when you create a Cloud Director replication jobs, you need to run it manually unless you enable a job schedule.
Run the Start-VBRvCDReplicaJobStarts Cloud Director replication jobs. cmdlet to run the job manually.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CompressionLevel |
Specifies the compression level of the replicated data:
Default: |
|
False |
Named |
False |
|
Description |
Specifies the description that you want to assign to the VDC replication job. |
|
False |
Named |
False |
|
ExcludedObject |
Specifies an array of VM containers that you want to exclude from the VDC replication job. You can exclude the following types of Cloud Director source objects:
Accepts the |
|
False |
Named |
False |
|
GeneralStoragePolicy |
Specifies the storage policy. The cmdlet will create VDC replication jobs according to the policy settings.
Accepts the |
|
False |
Named |
False |
|
GuestProcessingOptions |
Specifies guest processing options of a VDC replication job.
Accepts the |
|
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 |
|
IndividualVAppStoragePolicy |
Specifies the individual storage policy for a Cloud Director VM. The job will create VDC replicas of these VMs according to the policy settings.
Accepts the |
|
False |
Named |
False |
|
MetadataRepository |
Specifies a backup repository that will store metadata for VDC replicas.
Accepts the |
|
False |
Named |
False |
|
Name |
Specifies the name that you want to assign to the VDC replication job. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification options of a VDC replication job.
Accepts the |
False |
Named |
False |
|
|
OrganizationVdc |
Specifies the cloud organization VDC. The job will store the Cloud Director replicas on the selected organization VDC.
Accepts the |
|
True |
Named |
False |
|
OriginalVApp |
For replica mapping. Specifies a production vApp that you want to replicate using replica mapping. The VDC replication job will map this vApp to the vApp on the disaster recovery site.
Use the
Accepts the |
|
False |
Named |
False |
|
ReplicaVApp |
For replica mapping. Specifies a vApp on the disaster recovery site. The cmdlet will map the production vApp to this vApp, and the VDC replication job will replicate data to this vApp.
Use the
Accepts the |
|
False |
Named |
False |
|
RepositorySeed |
For replica seeding. Specifies the backup repository that keeps a full backup of a VM that you want to replicate.
Accepts the |
|
False |
Named |
False |
|
RestorePointsToKeep |
Specifies a number of restore points you want to keep for of VDC replicas.
Permitted values:
Default: |
|
False |
Named |
False |
|
ScheduleOptions |
Specifies a schedule for a VDC replication job.
Accepts the |
|
False |
Named |
False |
|
SourceNetwork |
For the network mapping option. Specifies an array of the production networks, to which the vApps are connected. Note: The number of the source and the target networks must be the same.
Accepts the |
|
False |
Named |
False |
|
SourceObject |
Specifies an array of vApps that you want to replicate.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
SourceProxy |
Specifies an array of the source proxies. The cmdlet will assign these proxies to the VDC replication job. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
|
SourceWanAccelerator |
Specifies the WAN accelerator configured in the source site. The cmdlet will use this WAN accelerator data transfer. Default: Not set. |
False |
Named |
False |
|
|
Suffix |
Specifies the suffix that the cmdlet will add to the name of VDC replicas. Default: "_replica". |
|
False |
Named |
False |
|
TargetNetwork |
For the network mapping option. Specifies the network in 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 |
|
TargetProxy |
Specifies an array of the target proxies. The cmdlet will assign these proxies to the VDC replication job. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
|
TargetWanAccelerator |
Specifies the WAN accelerator configured in the target site. The cmdlet will use this WAN accelerator data transfer. Default: Not set. |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRvCDReplicaJob object that defines settings of the VDC replication jobs.
Examples
Creating VDC Replication Job
This example shows how to create the vCD_05j VDC replication job to replicate the AvP04 vApp to the Org07 organization VDC.
|
$vapp = Find-VBRvCloudEntity -Name "AvP04" -VApp $orgvdc = Find-VBRvCloudEntity -Name "Org07" -OrganizationVdc Add-VBRvCDReplicaJob -SourceObject $vapp -OrganizationVdc $orgvdc -Name "vCD_05j" -Description "AvP04 replica" |
Perform the following steps:
- Run the
Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet. Specify theNameparameter value. Save the result to the$vappvariable. - Run the
Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet. Specify theNameparameter value. Provide theOrganizationVdcparameter. Save the result to the$orgvdcvariable. - Run the
Add-VBRvCDReplicaJobcmdlet. Specify the following settings:- Set the
$vappvariable as theSourceObjectparameter value. - Set the
$orgvdcvariable as theOrganizationVdcparameter value. - Specify the
Nameparameter value. - Specify the
Descriptionparameter value.
- Set the
Related Commands
Find-VBRvCloudEntityLooks for Cloud Director entities.