Skip to main content

vserver consistency-group snapshot delete

Contributors
Suggest changes

Delete an existing consistency group Snapshot Copy

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver consistency-group snapshot delete command deletes a Snapshot copy of a specified consistency group.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group on which the snapshot is to be deleted.

-consistency-group <text> - Consistency Group Name

This parameter specifies the consistency group where a Snapshot copy is to be deleted.

-parent-consistency-group <text> - Parent Consistency Group Name

This parameter specifies the parent consistency group where a Snapshot copy is to be deleted.

-snapshot <snapshot name> - Snapshot Copy Name

This parameter specifies the name of the Snapshot copy that is to be deleted.

Examples

The following example deletes a Snapshot copy named snap1 on a child consistency group named cg1 in parent consistency group parentCg on a Vserver named vs0.

cluster1::> vserver consistency-group snapshot delete -vserver vs0 -consistency-group cg1 -parent-consistency-group parentCg -snapshot snap1
    (vserver consistency-group snapshot delete)
Warning: Deleting a Snapshot copy permanently removes data that is stored only in that Snapshot copy. Are you sure you want to delete Snapshot copy
         "snap1" for consistency group "parentCG" in Vserver "vs0" ? {y|n}: y