--- title: "Add-VBRCloudCDPPolicy" description: "This cmdlet creates a cloud CDP policy. The cmdlet will create a cloud CDP policy in the disabled state unless you enable a policy schedule. Run the Enable-VBRCDPPolicy cmdlet to enable the policy." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/add-vbrcloudcdppolicy.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Cloud Connect > Continuous Data Protection (CDP) with Veeam Cloud Connect > Add-VBRCloudCDPPolicy" dateModified: "2026-08-20" --- # Add-VBRCloudCDPPolicy ## Short Description Creates a cloud CDP policy. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Add-VBRCloudCDPPolicy -Entity -Server -Datastore [-Name ] [-Description ] [-Suffix ] [-SourceProxy ] [-NotificationOptions ] [-RetentionOptions ] [-GuestProcessingOptions ] [-SourceNetwork ] [-TargetNetwork ] [-RepositorySeed ] [-OriginalVM ] [-ReplicaVM ] [-DiskType ] [-Force] [-HighPriority] [] ``` ## Detailed Description This cmdlet creates a cloud CDP policy. ::: note The cmdlet will create a cloud CDP policy in the disabled state unless you enable a policy schedule. Run the [`Enable-VBRCDPPolicy`](enable-vbrcdppolicy.md) cmdlet to enable the policy. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Datastore

Returns datastores or disk volumes allocated under cloud resources. The cmdlet will keep cloud CDP replicas in this datastore.

Accepts the VBRCloudDatastore object. To get this object, run the Get-VBRCloudDatastore cmdlet.

VBRCloudDatastore

True

Named

False

Description

Specifies a description of a cloud CDP policy.

String

False

Named

False

DiskType

Specifies the format that will be used to restore replica disk files:

  • Source: the restored replica disks will be the same format as source.
  • Thick: the restored replica disks will be thick.
  • Thin: the restored replica disks will be thin.
  • ThickEagerZeroed: the restored replica disks will be thick eager zeroed.

Default: Source.

EDiskCreationMode

False

Named

False

Entity

Specifies the array of VMs you want to add to the policy.

Accepts the IViItem[] object. To create this object, run the Find-VBRViEntity cmdlet.

IViItem[]

True

Named

True (ByPropertyName, ByValue)

Force

Defines that the cmdlet will create a cloud CDP policy without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

GuestProcessingOptions

Specifies guest processing settings of a cloud CDP policy.

Accepts the VBRReplicaApplicationProcessingOptions object. To create this object, run the New-VBRReplicaApplicationProcessingOptions cmdlet.

VBRReplicaApplicationProcessingOptions

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.

SwitchParameter

False

Named

False

Name

Specifies a name you want to assign to a cloud CDP policy.

String

False

Named

False

NotificationOptions

Specifies notification settings of a cloud CDP policy.

Accepts the VBRNotificationOptions object. To create this object, run the New-VBRNotificationOptions cmdlet.

VBRNotificationOptions

False

Named

False

OriginalVM

For replica mapping.

Specifies an array of production VMs that you want to replicate using replica mapping.

The cloud CDP policy will map this VM to the VM in the disaster recovery site.

Use the ReplicaVM parameter to specify the replicated VM on the disaster recovery site.

Accepts the CViVmItem[] object. To get this object, run the Find-VBRViEntity cmdlet.

CViVmItem[]

False

Named

False

ReplicaVM

For replica mapping.

Specifies an array of VMs in the disaster recovery site. The cmdlet will map the production VM to this VM.

Use the OriginalVM parameter to specify the production VM.

Accepts the CViVmItem[] object. To get this object, run the Find-VBRViEntity cmdlet.

VBRViCloudVM[]

False

Named

False

RepositorySeed

For replica seeding.

Specifies a backup repository that keeps a full backup of VMs that you want to replicate.

Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet.

CBackupRepository

False

Named

False

RetentionOptions

Specifies retention settings of a cloud CDP policy.

Accepts the VBRCDPPolicyRetentionOptions object. To create this object, run the New-VBRCDPPolicyRetentionOptions cmdlet.

VBRCDPPolicyRetentionOptions

False

Named

False

Server

Specifies a cloud host allocated by a service provider through the hardware plan. The cloud CDP replicas will be created in this host.

Accepts the VBRCloudServer object. To get this object, run the Get-VBRCloudServer cmdlet.

VBRCloudServer

True

Named

False

SourceNetwork

For network mapping.

Specifies an array of production networks to which the VMs added to a cloud CDP policy are connected.

Note: The number of source networks must match the number of target networks.

Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet.

VBRViNetworkInfo[]

False

Named

False

SourceProxy

Specifies the array of CDP source proxies added to the backup infrastructure. The cmdlet will use these proxies to transfer data.

Default: Automatic selection.

Accepts the VBRCDPProxy[] object. To get this object, run the Get-VBRCDPProxy cmdlet.

VBRCDPProxy[]

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.

Note: If you omit this parameter, the replicated VMs will get the _replica suffix.

String

False

Named

False

TargetNetwork

For network mapping.

Specifies an array of networks in the disaster recovery site. VMs that are replicated with the cloud CDP policy will be connected to these networks.

Note: The number of source networks must match the number of target networks.

Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet.

VBRCloudServerNetworkInfo[]

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `VBRCloudCDPPolicy` object that contains cloud CDP policy settings. ## Examples ::: example ### Creating Cloud CDP Policy This example shows how to create the `DB_replication` cloud CDP policy. ``` $vm = Find-VBRViEntity -Name "DB server" $host = Get-VBRCloudServer $datastore = Get-VBRCloudDatastore Add-VBRCloudCDPPolicy -Entity $vm -Server $host[3] -Datastore $datastore[3] -Name "DB_replication" ``` Perform the following steps: 1. Run the [`Find-VBRViEntity`](find-vbrvientity.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$vm` variable. 2. Run the [`Get-VBRCloudServer`](get-vbrcloudserver.md) cmdlet. Save the result to the `$host` variable. The `Get-VBRCloudServer` cmdlet will return an array of hosts. Mind the ordinal number of the necessary host (in our example, it is the fourth host in the array). 3. Run the [`Get-VBRCloudDatastore`](get-vbrclouddatastore.md) cmdlet. Save the result to the `$datastore` variable. The `Get-VBRCloudDatastore` cmdlet will return an array of datastores. Mind the ordinal number of the necessary datastore (in our example, it is the fourth datastore in the array). 4. Run the `Add-VBRCloudCDPPolicy` cmdlet. Specify the following settings: - Set the `$vm` variable as the `Entity` parameter value. - Set the `$host` variable as the `Server` parameter value. - Set the `$datastore` variable as the `Datastore` parameter value. - Specify the `Name` parameter value. ::: ## Related Commands - [`Find-VBRViEntity`](find-vbrvientity.md) - [`Get-VBRCloudServer`](get-vbrcloudserver.md) - [`Get-VBRCloudDatastore`](get-vbrclouddatastore.md)