Skip to content

SHOW SNAPSHOTS

The SHOW SNAPSHOTS statement shows 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 this 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"    |
+--------------------------------+---------+-----------------------------------------------------+
Got 2 rows (time spent 762/1434 us)

Last update: March 25, 2021