list-snapshots
List all snapshots for a backend
Usage
aegis list-snapshots [OPTIONS]
Options
| Option | Description |
|---|---|
--repo | Specify a path to a repo to use instead of the current working directory |
--backend | Use a specific backend instead of the one specified by default_backend in aegis.toml |
Description
The list-snapshots command displays all snapshots for a backend, sorted by date.
Each snapshot shows a timestamp when the snapshot was created, and the SHA-256 hash of the root directory Merkle DAG node.
Output
Snapshot 1: 2026-01-01T12:00:00Z (root abc123...)
Snapshot 2: 2026-01-02T15:30:00Z (root def456...)
Snapshot 3: 2026-01-03T09:15:00Z (root 789abc...)
Examples
# List Snapshots in Default Backend:
aegis list-snapshots
# List Snapshots in a Specific Backend:
aegis list-snapshots --backend cloud