volume snapshot modify
Modify snapshot attributes
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The volume snapshot modify
command enables you to change the text comment associated with a snapshot.
Parameters
-vserver <vserver name>
- Vserver-
This specifies the Vserver that contains the volume on which the specified snapshot is saved.
-volume <volume name>
- Volume-
This specifies the volume whose snapshot is to be modified.
-snapshot <snapshot name>
- Snapshot-
This specifies the snapshot whose text comment is to be modified.
[-comment <text>]
- Comment-
This specifies the new comment for the snapshot.
[-snapmirror-label <text>]
- Label for SnapMirror Operations-
This specifies the SnapMirror Label for the snapshot. The SnapMirror Label is used by the Vaulting subsystem when you back up snapshots to the Vault Destination. If an empty label ("") is specified, the existing label will be deleted.
[-expiry-time <MM/DD/YYYY HH:MM:SS>]
- Expiry Time-
This specifies the expiry time for the snapshot. The expiry time indicates the time at which the snapshot becomes eligible for deletion. If an expiry time of ("0") is specified, the existing expiry time will be deleted.
Examples
The following example modifies the comment of a snapshot named vol3_snapshot of a volume named vol3 on a Vserver named vs0. The comment is changed to "Pre-upgrade snapshot".
cluster1::> volume snapshot modify -vserver vs0 -volume vol3 -snapshot vol3_snapshot -comment "Pre-upgrade snapshot"