list-dumps
list-dumps command¶
The list-dumps
command provides a list of all dumps stored in the storage. The list includes the following attributes:
ID
— the unique identifier of the dump, used for operations likerestore
,delete
, andshow-dump
DATE
— the date when the snapshot was createdDATABASE
— the name of the database associated with the dumpSIZE
— the original size of the dumpCOMPRESSED SIZE
— the size of the dump after compressionDURATION
— the duration of the dump procedureTRANSFORMED
— indicates whether the dump has been transformedSTATUS
— the status of the dump, which can be one of the following:done
— the dump was completed successfullyin progress
— the dump is currently being createdfailed
— the dump creation process failedunknown or failed
— the deprecated status of the dump that is used for failed dumps or dumps in progress for version v0.1.14 and earlier
Example of list-dumps
output:
Info
Greenmask uses a heartbeat mechanism to determine the status of a dump.
A dump is considered failed
if it lacks a "done" heartbeat or if the last heartbeat timestamp exceeds 30 minutes.
Heartbeats are recorded every 15 minutes by the dump
command while it is in progress. If greenmask
fails unexpectedly,
the heartbeat stops being updated, and after 30 minutes (twice the interval), the dump is classified as failed
.
The in progress
status indicates that a dump is still ongoing.