This command displays all snapshots and their details.
Usage
snapshot list [--name NAME] [--path PATH] [--expiration-time EXPIRATION_TIME] [--policy POLICY__NAME] [--created CREATION_TIME]
Options
Filters the list by 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. |
|
Filters the list by snapshot creation time. |
Example
vcli: admin> snapshot list +----+-------+------+----------------------+---------+-------------------+--------+-----------------------------+ | ID | Name | Path | Expiration-time | State | Protection-policy | Locked | Created | +----+-------+------+----------------------+---------+-------------------+--------+-----------------------------+ | 1 | snap1 | /dev | 2020-10-26T21:30:00Z | SUCCEED | None | False | 2020-10-26T19:08:09.002748Z | +----+-------+------+----------------------+---------+-------------------+--------+-----------------------------+
Comments
0 comments
Article is closed for comments.