application snapshot delete
(DEPRECATED)-Delete a snapshot belonging to an application or protection group.
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
|This command is deprecated and may be removed in a future release of Data ONTAP. Use the REST interface instead.|
This command deletes a Snapshot that belongs to a specified protection-group in a given application. Every application instance also acts as a protection-group and can be treated as one.
-vserver <vserver name>- Vserver
This specifies the Vserver that contains the application on which the snapshot is to be deleted.
-application <text>- Application
This specifies the name of the application from which a Snapshot is to be deleted.
[-protection-group <text>]- Protection Group
This specifies the name of the protection-group or application component where a Snapshot copy is to be deleted. This field is optional, and if not specified, the application itself will be treated as the protection-group.
-snapshot <snapshot name>- Snapshot
This specifies the name of the Snapshot that is to be deleted.
[-force <true>]- Force Delete
If this parameter is specified, the Snapshot copy is immediately deleted without generating any confirmation messages. Otherwise the operation generates confirmation messages.
The following example deletes a Snapshot named snap1 on a application named myapp1 on a vserver named vs of a protection-group called myapp1.
cluster1::> application snapshot delete -vserver vs -application myapp1 -protection-group myapp1 -snapshot snap1