Set-VBRCDPPolicy
Short Description
Modifies CDP policies.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRCDPPolicy -Policy <VBRCDPPolicy> [-Entity <IViItem[]>] [-Exclusions <IViItem[]>] [-Name <String>] [-Description <String>] [-ResourcePool <CViResourcePoolItem>] [-Folder <CViFolderItem>] [-Datastore <VBRViDatastoreBase>] [-StoragePolicy <VBRViStoragePolicy>] [-EnableNetworkMapping] [-SourceNetwork <VBRViNetworkInfo[]>] [-TargetNetwork <VBRViNetworkInfo[]>] [-ReIpRule <IViReIpRule[]>] [-SourceProxy <VBRCDPProxy[]>] [-TargetProxy <VBRCDPProxy[]>] [-Suffix <String>] [-CompressionLevel <VBRCompressionLevel>] [-NotificationOptions <VBRNotificationOptions>] [-RetentionOptions <VBRCDPPolicyRetentionOptions>] [-EnableReplicaSeeding] [-RepositorySeed <CBackupRepository>] [-EnableReplicaMapping] [-OriginalVM <CViVmItem[]>] [-ReplicaVM <CViVmItem[]>] [-EnableApplicationProcessingOptions] [-GuestProcessingOptions <VBRReplicaApplicationProcessingOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies CDP policies.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CompressionLevel |
Note: The parameter is not supported and will be deprecated. Specifies the compression level of the replicated data:
Default: |
|
False |
Named |
False |
|
Datastore |
Specifies a datastore to which you want to replicate VMs.
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies a description for the CDP policy. The cmdlet will replace a CDP policy description with this description. |
|
False |
Named |
False |
|
EnableApplicationProcessingOptions |
Enables application processing option. |
|
False |
Named |
False |
|
EnableNetworkMapping |
Enables network mapping. |
|
False |
Named |
False |
|
EnableReplicaMapping |
Enables the replica mapping option. |
|
False |
Named |
False |
|
EnableReplicaSeeding |
Enables the replica seeding option. |
|
False |
Named |
False |
|
Entity |
Specifies an array of VMs that you want to add to a CDP policy.
Accepts the |
|
False |
Named |
False |
|
Exclusions |
Specifies an array of VMs that you want to exclude from the CDP policy processing.
Accepts the |
|
False |
Named |
False |
|
Folder |
Specifies a folder to which you want to replicate VMs.
Accepts the |
|
False |
Named |
False |
|
GuestProcessingOptions |
Specifies guest processing options of a CDP policy.
Accepts the |
|
False |
Named |
False |
|
Name |
Specifies a name for the CDP policy. The cmdlet will replace a CDP policy name with this name. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification options of a CDP policy.
Accepts the |
False |
Named |
False |
|
|
OriginalVM |
For replica mapping. Specifies a production VM that you want to replicate using replica mapping. The CDP policy will map this VM to the VM on the disaster recovery site.
Use the
Accepts the |
|
False |
Named |
False |
|
Policy |
Specifies a CDP policy that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
ReIpRule |
Specifies re-IP rules.
Accepts the |
|
False |
Named |
False |
|
ReplicaVM |
For replica mapping. Specifies a VM on the disaster recovery site. The cmdlet will map the production VM to this VM, and the CDP policy will replicate data to this VM.
Use the
Accepts the |
|
False |
Named |
False |
|
RepositorySeed |
For replica seeding. Specifies a backup repository that keeps a full backup of a VM that you want to replicate.
Accepts the |
|
False |
Named |
False |
|
ResourcePool |
Specifies a resource pool to which you want to replicate.
Accepts the |
|
False |
Named |
False |
|
RetentionOptions |
Specifies retention settings of a CDP policy.
Accepts the |
|
False |
Named |
False |
|
SourceNetwork |
For network mapping. Specifies an array of production networks to which the VMs in the CDP policy 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 you want to assign to the CDP policy. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
|
StoragePolicy |
Specifies a VMware storage policy that must be applied to the replica virtual disks.
Accepts the |
False |
Named |
False |
|
|
Suffix |
Specifies a suffix that the cmdlet will add to the name of the VM the you want to replicate. This name will be used to register the replicated VM on the target server.
Default: " |
|
False |
Named |
False |
|
TargetNetwork |
For network mapping. Specifies an array of networks 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 the target proxy that you want to assign to the CDP policy. Default: Automatic selection.
Accepts the |
|
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 VBRCDPPolicy object that defines settings of CDP policies.
Examples
Example 1. Modifying CDP Policy Excluded VMs
|
This example shows how to exclude the
Perform the following steps:
|
Example 2. Modifying CDP Policy Source and Target Proxies
|
This example shows how to assign the
Perform the following steps:
|
Related Commands
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-VBRCDPProxyReturns CDP proxies added to the backup infrastructure.