This command modifies a protection policy.
Usage
protectionpolicy modify --id ID [--name POLICY_NAME] [--schedule SCHEDULE] [--prefix PREFIX] [--clone-type CLOUD_REPLICATION|LOCAL] [--target-object-id ID]
Required Parameters
Options
|
Modifies the schedule for snapshots. If The schedule includes a frequency in seconds, minutes, hours or days, a start date and time, and a retention time limit for local snapshots. Specify every <number><time units> start at YYYY-MM-DD HH:MM:SS keep-local <number><time units>
If For example: |
|
Modifies the prefix to use in the names of snapshots. |
|
Changes the type(s) of replication to perform:
|
|
Modifies the name of the protection policy. |
If To retrieve target IDs, use replicationtarget list. To create a target, use replicationtarget create. |
Example
This example changes the snapshot prefix of replication policy 1 to "vast".
vcli: admin> protectionpolicy modify --id 1 --prefix vast
Comments
0 comments
Article is closed for comments.