Set-VBRvCDCDPPolicy

Short Description

Modifies a Cloud Director CDP policy.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRvCDCDPPolicy -Policy <VBRvCDCDPPolicy> [-Name <String>] [-Description <String>]

[-SourceObject <IVcdItem[]>] [-ExcludedObject <IVcdItem[]>] [-EnableNetworkMapping]

[-SourceNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-TargetNetwork <VBRvCDOrgVdcNetworkInfo[]>]

[-EnableInitialSeeding] [-RepositorySeed <CBackupRepository>] [-EnableReplicaMapping]

[-OriginalVApp <CVcdVappItem[]>] [-ReplicaVApp <CVcdVappItem[]>] [-SourceProxy <VBRCDPProxy[]>]

[-TargetProxy <VBRCDPProxy[]>] [-Suffix <String>] [-EnableApplicationProcessing]

[-GuestProcessingOptions <VBRReplicaApplicationProcessingOptions>] [-CompressionLevel <VBRCompressionLevel>]

[-NotificationOptions <VBRNotificationOptions>] [-RetentionOptions <VBRCDPPolicyRetentionOptions>] [<CommonParameters>]

Detailed Description

This cmdlet modifies a Cloud Director CDP policy.

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

CompressionLevel

Specifies the compression level for the replicated data:

  • None: use this option if you do not want to enable data compression.
  • Dedupe-friendly: use this option to set a dedupe-friendly compression level.
  • Optimal: use this option to set an optimal compression level.
  • High: use this option to set a high compression level.
  • Extreme: use this option to set an extreme compression level.

VBRCompressionLevel

False

Named

False

Description

Specifies a description for the CDP policy. The cmdlet will replace the CDP policy description with this description.

String

False

Named

False

EnableApplicationProcessing

Enables guest processing settings for the CDP policy.

Use the GuestProcessingOptions parameter to specify the guest processing settings.

SwitchParameter

False

Named

False

EnableInitialSeeding

Enables replica seeding.

SwitchParameter

False

Named

False

EnableNetworkMapping

Enables network mapping.

SwitchParameter

False

Named

False

EnableReplicaMapping

Enables the replica mapping functionality.

SwitchParameter

False

Named

False

ExcludedObject

Specifies an array of VM containers that you want to exclude from the CDP policy. You can exclude the following types of Cloud Director source objects:

  • Organization
  • Organization VDC
  • vApp

Accepts the IVcdItem[] object. To get this object, run the Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet.

IVcdItem[]

False

Named

False

GuestProcessingOptions

Specifies guest processing options.

Accepts the VBRReplicaApplicationProcessingOptions object. To create this object, run the New-VBRReplicaApplicationProcessingOptionsDefines guest processing settings for Cloud Director replica jobs and CDP policies. cmdlet.

VBRReplicaApplicationProcessingOptions

False

Named

False

Name

Specifies a name for the CDP policy. The cmdlet will replace the CDP policy name with this name.

String

False

Named

False

NotificationOptions

Specifies notification options of the CDP policy.

Accepts the VBRNotificationOptions object. To create this object, run the New-VBRNotificationOptionsCreates new job notification options. cmdlet.

VBRNotificationOptions

False

Named

False

OriginalVApp

For the replica mapping functionality.

Specifies an array of productions vApp for which you plan to use replica mapping.

The CDP policy will map these vApps to the vApps in the disaster recovery site.

Use the ReplicaVApp parameter to specify the vApps in the disaster recovery site.

Accepts the CVcdVappItem[] object. To get this object, run the Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet.

CVcdVappItem[]

False

Named

False

Policy

Specifies the Cloud Director CDP policy that you want to modify.

Accepts the VBRvCDCDPPolicy object. To get this object, run the Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet.

VBRvCDCDPPolicy

True

Named

True (ByValue)

ReplicaVApp

For the replica mapping functionality.

Specifies an array of vApps in the disaster recovery site. The cmdlet will map the production vApps to these vApps and will use these vApps as replicas.

Use the OriginalVApp parameter to specify the vApps in the production site.

Accepts the CVcdVappItem[] object. To get this object, run the Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet.

CVcdVappItem[]

False

Named

False

RepositorySeed

For the replica seeding functionality.

Specifies the backup repository that keeps the full backups of vApps that you want to replicate.

Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet.

CBackupRepository

False

Named

False

RetentionOptions

Specifies retention settings.

Accepts the VBRCDPPolicyRetentionOptions object. To create this object, run the New-VBRCDPPolicyRetentionOptionsDefines retention settings of CDP policies. cmdlet.

VBRCDPPolicyRetentionOptions

False

Named

False

SourceNetwork

For the network mapping functionality.

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 VBRvCDOrgVdcNetworkInfo[] object. To get this object, run the Get-VBRVCDOrgVdcNetworkInfoReturns target networks for Cloud Director replica mapping. cmdlet.

VBRvCDOrgVdcNetworkInfo[]

False

Named

False

SourceObject

Specifies an array of the vApps that you want to protect.

Accepts the IVcdItem[] object. To get this object, run the Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet.

IVcdItem[]

False

Named

False

SourceProxy

Specifies an array of the CDP proxy in the production site that you want to assign to the CDP policy.

Default: Automatic selection.

Accepts the VBRCDPProxy[] object. To get this object, run the Get-VBRCDPProxyReturns CDP proxies added to the backup infrastructure. cmdlet.

VBRCDPProxy[]

False

Named

False

Suffix

Specifies the suffix that the cmdlet will add to the name of vApps replicated with CDP policies.

String

False

Named

False

TargetNetwork

For the network mapping functionality.

Specifies an array of the networks in the Disaster Recovery site. The replicated vApps will be connected to these networks.

Note: The number of the source and the target networks must be the same.

Accepts the VBRvCDOrgVdcNetworkInfo[] object. To get this object, run the Get-VBRVCDOrgVdcNetworkInfoReturns target networks for Cloud Director replica mapping. cmdlet.

VBRvCDOrgVdcNetworkInfo[]

False

Named

False

TargetProxy

Specifies an array of the target CDP proxies that you want to assign to the CDP policy.

Default: Automatic selection.

Accepts the VBRCDPProxy[] object. To get this object, run the Get-VBRCDPProxyReturns CDP proxies added to the backup infrastructure. cmdlet.

VBRCDPProxy[]

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 VBRvCDCDPPolicy object that defines settings of the CDP policy.

Examples

Creating Cloud Director CDP Policy

This example shows how to modify the compression level for the replicated data. The cmdlet will set the compression level to dedupe-friendly compression level.

$policy = Get-VBRCDPPolicy

Set-VBRvCDCDPPolicy -Policy $policy -CompressionLevel DedupeFriendly

Perform the following steps:

  1. Run the Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  2. Run the Set-VBRvCDCDPPolicy cmdlet. Set the $policy variable as the Policy parameter value. Specify the CompressionLevel parameter value.

Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.

Page updated 2026-08-19

Page content applies to build 13.1.1.18