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 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 is to be deleted.

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

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

-snapshot <snapshot name> - Snapshot Copy Name

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

Examples

The following example deletes a snapshot 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 permanently removes data that is stored only in that snapshot. Are you sure you want to delete snapshot
         "snap1" for consistency group "cg1" in Vserver "vs0" ? {y|n}: y