Skip to content

snapshots

List snapshots for a target.

clonit snapshots <target>
Argument Description Required
target Name of the target Yes

Displays a table of all snapshots associated with the specified target. Each snapshot is assigned an index that can be used to reference it in other commands such as load, push, pull, and sanitize.

The output table includes the following columns:

Column Description
Index Numeric index for referencing the snapshot
Name Snapshot name (typically includes timestamp)
Type Snapshot type (e.g., original, sanitized)
Size Snapshot size in human-readable format
Created Timestamp when the snapshot was created

List all snapshots for a target:

clonit snapshots mydb

List snapshots with quiet output:

clonit --quiet snapshots mydb
  • build – Create a snapshot of the source database
  • load – Load a snapshot into the destination database
  • push – Push a snapshot to remote storage
  • pull – Pull a snapshot from remote storage