application snapshot show

Contributors

(DEPRECATED)-Display a list of snapshots in an application or protection group.

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

Description

Note This command is deprecated and may be removed in a future release of Data ONTAP. Use the REST interface instead.

This command displays snapshots in a given application or protection-group.

Parameters

{ [-fields <fieldname>,…​]

Specifies fields that you want included in the output. You can use -fields ? to display the available fields.

| [-instance ] }

Specifies the display of all available fields for each selected application.

[-vserver <vserver name>] - Vserver

Selects snapshots belonging to vservers that match the parameter value.

[-application <text>] - Application

Selects snapshots with application names that match the parameter value.

[-protection-group <text>] - Protection Group

Selects snapshots with protection-groups or application components that match the parameter value.

[-snapshot <snapshot name>] - Snapshot

Selects snapshots with names that match the parameter value.

[-uuid <UUID>] - Instance UUID

Selects snapshots with Instance UUIDs that match the parameter value.

[-protection-group-uuid <UUID>] - Protection Group UUID

Selects applications with protection-group unique identifiers that match the parameter value.

[-application-uuid <UUID>] - Application UUID

Selects snapshots with application unique identifiers that match the parameter value.

[-snapshot-consistency-type {crash|application}] - Snapshot Consistency Type

Selects snapshots with snapshot types that match the parameter value. The type field is used to differentiate between application consistent and crash consistent snapshots.

[-comment <text>] - Comment

Selects snapshots with comments that match the parameter value.

[-is-partial {true|false}] - Partial Snapshot

Selects snapshots with partial attributes that match the parameter value. The is-partial field is used to identify if a snapshot does not exist on all application components. A partial snapshot is still a valid snapshot. It does not exist on all application components because application components were added after the snapshot was created.

Examples

cluster1::> application snapshot show
Vserver: vs
Application: myapp1
Protection Group: myapp1
Snapshot                   Create Time           Type
------------------------------- ------------------------ -----------
myapp1_snapshot_1               Wed Dec 31 16:16:40 2017 application

The example above displays all snapshots in an application protection-group in the cluster.