This command displays all snapshots and their details.
Usage
snapshot list [--name NAME_CONTAINS] [--path PATH] [--expiration-time EXPIRATION_TIME] [--policy POLICY__NAME]
Options
Filters the list by snapshot name or part of the snapshot name. |
|
Filters the list by path. |
|
Filters the list by expiration time . |
|
Filters the list to display snapshots created by a specified snapshot policy. Specify POLICY_NAME as the name of a snapshot policy. |
Example
vcli: admin> snapshot list +--------+-----------------------------+----------------+-------+---------+--------+----------------------+----------------+ | ID | Created | Name | Type | Path | Policy | Expiration-time | Indestructible | +--------+-----------------------------+----------------+-------+---------+--------+----------------------+----------------+ | 971306 | 2022-05-30T20:20:59.825251Z | snaps3main | local | /s3main | None | 2022-05-31T22:00:00Z | False | +--------+-----------------------------+----------------+-------+---------+--------+----------------------+----------------+
Comments
0 comments
Article is closed for comments.