SHOW SNAPSHOTS¶
The SHOW SNAPSHOTS
statement shows the information of all the snapshots.
For how to create a snapshot and backup data, see Snapshot.
Role requirement¶
Only the root
user who has the GOD
role can use the SHOW SNAPSHOTS
statement.
Syntax¶
SHOW SNAPSHOTS;
Example¶
nebula> SHOW SNAPSHOTS;
+--------------------------------+---------+-----------------------------------------------------+
| Name | Status | Hosts |
+--------------------------------+---------+-----------------------------------------------------+
| "SNAPSHOT_2020_12_16_11_13_55" | "VALID" | "storaged0:9779, storaged1:9779, storaged2:9779" |
| "SNAPSHOT_2020_12_16_11_14_10" | "VALID" | "storaged0:9779, storaged1:9779, storaged2:9779" |
+--------------------------------+---------+-----------------------------------------------------+
Last update:
February 1, 2023