SHOW SNAPSHOTS¶
SHOW SNAPSHOTS
语句显示所有快照信息。
快照的使用方式请参见管理快照。
角色要求¶
只有GOD
角色的用户(即root
)才能执行SHOW SNAPSHOTS
语句。
语法¶
SHOW SNAPSHOTS;
示例¶
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" |
+--------------------------------+---------+-----------------------------------------------------+
最后更新:
March 7, 2023