volume snapshot policy modify-schedule
Modify a schedule within snapshot policy
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The volume snapshot policy modify-schedule
command modifies the maximum number of Snapshot copies that can be taken by a Snapshot policy's schedule.
Parameters
-vserver <vserver name>
- Vserver Name-
This specifies the Vserver on which a Snapshot policy schedule is to be modifed.
-policy <snapshot policy>
- Snapshot Policy Name-
This specifies the Snapshot policy whose schedule is to be modified.
-schedule <text>
- Schedule Name-
This specifies the schedule that is to be modified.
[-newcount <integer>]
- Maximum Snapshot Copies for Schedule-
This specifies the maximum number of Snapshot copies that can be taken by the specified schedule. The total count of all the Snapshot copies to be retained for the policy cannot be more than 1023.
[-newsnapmirror-label <text>]
- Label for SnapMirror Operations-
This specifies the SnapMirror Label identified with a Snapshot copy when it is created for the specified schedule. The SnapMirror Label is used by the Vaulting subsystem when you back up Snapshot copies to the Vault Destination. If an empty label ("") is specified, the existing label will be deleted.
[-newretention-period <snaplock minmax period>]
- SnapLock Retention Period-
This specifies the retention period for Snapshot copies created by the schedule.
Examples
The following example changes the maximum number of Snapshot copies from five to four for a schedule named midnight on a Snapshot policy named snappolicy_nightly on Vserver vs0:
cluster1::> volume snapshot policy modify-schedule -vserver vs0 -policy snappolicy_nightly -schedule midnight -newcount 4 -newretention-period "7 days"