Skip to main content

volume snapshot modify

Contributors
Suggest changes

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 copy.

Parameters

-vserver <vserver name> - Vserver

This specifies the Vserver that contains the volume on which the specified Snapshot copy is saved.

-volume <volume name> - Volume

This specifies the volume whose Snapshot copy is to be modified.

-snapshot <snapshot name> - Snapshot

This specifies the Snapshot copy whose text comment is to be modified.

[-comment <text>] - Comment

This specifies the new comment for the Snapshot copy.

[-snapmirror-label <text>] - Label for SnapMirror Operations

This specifies the SnapMirror Label for the Snapshot copy. 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.

[-expiry-time <MM/DD/YYYY HH:MM:SS>] - Expiry Time

This specifies the expiry time for the Snapshot copy. The expiry time indicates the time at which the Snapshot copy 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 copy 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"