Set-VBRUniversalCDPPolicy
Short Description
Modifies a universal CDP policy.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRUniversalCDPPolicy -Policy <VBRUniversalCDPPolicy> [-SourceObject <VBRUniversalCDPSource[]>] [-ExcludedObject <VBRUniversalCDPSource[]>] [-Destination <IUniversalCdpDestination>] [-Name <String>] [-Description <String>] [-EnableNetworkMapping] [-NetworkMapping <VBRUniversalCDPNetworkMappingRule[]>] [-SourceProxy <VBRCDPProxy[]>] [-TargetProxy <VBRCDPProxy[]>] [-Suffix <String>] [-CompressionLevel <VBRCompressionLevel>] [-NotificationOptions <VBRNotificationOptions>] [-RetentionOptions <VBRCDPPolicyRetentionOptions>] [-EnableReplicaSeeding] [-RepositorySeed <CBackupRepository>] [-EnableReplicaMapping] [-OriginalMachine <VBRDiscoveredComputer[]>] [-ReplicaMachine <VBRNamedObject[]>] [-EnableGuestProcessing] [-GuestProcessingOptions <VBRApplicationProcessingOptions[]>] [-ReIpRule <IViReIpRule[]>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of a universal 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
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CompressionLevel |
Specifies the compression level of the replicated data:
|
|
False |
Named |
False |
|
Description |
Specifies a description for the universal CDP policy. |
|
False |
Named |
False |
|
Destination |
Specifies the settings of the target location where the workloads will be replicated.
Accepts the |
|
False |
Named |
False |
|
EnableGuestProcessing |
Defines if guest processing is enabled for the universal CDP policy. |
|
False |
Named |
False |
|
EnableNetworkMapping |
Defines if network mapping is enabled for the universal CDP policy. |
|
False |
Named |
False |
|
EnableReplicaMapping |
Defines if replica mapping is enabled for the universal CDP policy. |
|
False |
Named |
False |
|
EnableReplicaSeeding |
Defines if replica seeding is enabled for the universal CDP policy. |
|
False |
Named |
False |
|
ExcludedObject |
Specifies the array of workloads that you want to exclude from the universal CDP policy processing.
Accepts the |
|
False |
Named |
False |
|
GuestProcessingOptions |
Specifies the array of guest processing settings for the universal CDP policy.
Accepts the |
|
False |
Named |
False |
|
Name |
Specifies a name for the universal CDP policy. |
|
False |
Named |
False |
|
NetworkMapping |
Specifies the array of network mapping settings.
Accepts the |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings of the universal CDP policy.
Accepts the |
False |
Named |
False |
|
|
OriginalMachine |
For replica mapping. Specifies an array of production workloads that you want to replicate using replica mapping. The universal CDP policy will map these workloads to the workloads in the disaster recovery site.
Use the
Accepts the |
False |
Named |
False |
|
|
Policy |
Specifies the universal CDP policy whose settings you want to change.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
ReIpRule |
Specifies the array of re-IP rules. Use re-IP rules when the workloads must be replicated to a network with a different IP addressing scheme.
Accepts the |
|
False |
Named |
False |
|
ReplicaMachine |
For replica mapping. Specifies an array of workloads on the disaster recovery site. The cmdlet will map the production workloads to these workloads.
Use the
Accepts the |
|
False |
Named |
False |
|
RepositorySeed |
For replica seeding. Specifies the backup repository that keeps a full backup of workloads that you want to replicate. Note: Backups for seeding must be created by Veeam Agent for Linux or Veeam Agent for Microsoft Windows.
Accepts the |
|
False |
Named |
False |
|
RetentionOptions |
Specifies retention settings of the universal CDP policy.
Accepts the |
|
False |
Named |
False |
|
SourceObject |
Specifies the workloads or protection groups that you want to protect with universal CDP.
Accepts the |
|
False |
Named |
False |
|
SourceProxy |
Specifies the array of the source CDP proxies that you want to use.
Accepts the |
|
False |
Named |
False |
|
Suffix |
Specifies the suffix that the cmdlet will add to the name of replicas. |
|
False |
Named |
False |
|
TargetProxy |
Specifies the array of the target CDP proxies that you want to use.
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 VBRUniversalCDPPolicy object that defines settings of the universal CDP policy.
Examples
Example 1. Excluding Workload from Universal CDP Policy Processing
This example shows how to exclude a workload from the universal CDP policy processing.
|
$cdpPolicy = Get-VBRCDPPolicy -Name "Universal CDP Policy" $group = Get-VBRProtectionGroup -Name "Protection Group CDP" $workloads = Get-VBRDiscoveredComputer -ProtectionGroup $group Set-VBRUniversalCDPPolicy -Policy $cdpPolicy -ExcludedObject $workloads[0] |
Perform the following steps:
- Run the
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify theNameparameter value. Save the result to the$cdpPolicyvariable. - Run the
Get-VBRProtectionGroupReturns protection groups. cmdlet. Specify theNameparameter value. Save the result to the$groupvariable. - Run the
Get-VBRDiscoveredComputerReturns discovered computers. cmdlet. Set the$groupvariable as theProtectionGroupparameter value. Save the result to the$workloadsvariable. - Run the
Set-VBRUniversalCDPPolicycmdlet. Set the$cdpPolicyvariable as thePolicyparameter value. Set the$workloads[0]variable as theExcludedObjectparameter value.
Related Commands
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-VBRDiscoveredComputerReturns discovered computers.Get-VBRProtectionGroupReturns protection groups.