Skip to main content

arcave savepoint list

Prints the committed savepoints of the compose project, in the session the command works in, as a JSON array.

Synopsis
arcave savepoint list [flags]

It reads the store, stops nothing, changes nothing and takes no lock, so it runs while another arcave command holds the project. Only committed savepoints appear: a capture killed before its record was written left data no record names, and nothing lists it or puts it back.

Flags​

FlagDefaultDescription
--include-safety-snapshotsfalseAlso list the safety snapshots a rollback takes of the live state; rolling back to one by id undoes that rollback.
--sortdescOrder by age: desc lists the newest first, asc the oldest. Any other value is refused.

Global flags apply — see the CLI reference.

Order​

The array is newest first; --sort asc lists the oldest first. An id is a UUIDv7 — its leading digits are the capture's millisecond — so the order by age is the order by id.

The newest savepoint
arcave savepoint list | jq -r '.[0].id'

Safety snapshots are hidden​

A safety snapshot is an ordinary savepoint carrying the label arcave-safety-snapshot: "true". The label hides it from this listing and from every scanning selector — latest, a name lookup, --retain-recent, --retain-for, --before-date. An explicit id still reaches one, in rollback and in savepoint remove, whether or not this flag was passed.

It is hidden because it is not a state you chose to keep. It is the last copy of that rollback's pre-rollback state, and stays until arcave gc retires it; this flag is how you find its id, to undo the rollback or to remove it. See the safety snapshot.

Output​

stdout
NAME ID CREATED VOLUMES LAYERS STORED NOT COVERED
before-migration 019e843e-1650-7000-8000-000000000000 2026-06-01 19:41 1 2 173 MB 1

On a terminal, one row per savepoint: what it captured, what it added to the store, and how many things it does not cover — not_covered and images not stored, spelled out by savepoint create. In the JSON each element is the whole record, exactly as savepoint create printed it — stats, writable_layers, images, spec and not_covered included. An empty store prints No savepoints. on a terminal, [] in JSON.

With --include-safety-snapshots, a safety snapshot is listed among the others, named on a terminal by the rollback it was taken before and marked (safety); in the JSON it carries its label, an empty name, and taken_before_rollback_to — the savepoint that rollback went to, by id and by the name it had then:

stdout
NAME ID CREATED VOLUMES LAYERS STORED NOT COVERED
before rollback to before-migration (safety) 019e8491-04c8-7000-8000-000000000000 2026-06-01 21:22 1 2 3.9 MB 1
before-migration 019e843e-1650-7000-8000-000000000000 2026-06-01 19:41 1 2 173 MB 1

A safety snapshot has no name: its taken_before_rollback_to names the savepoint that rollback was applying, by id and by the name it had then, so it always says which rollback it was taken before.

Errors​

ConditionWhat happens
No .arcave/config.yamlconfig is not found: run 'arcave init' if not yet initialized
No compose project namedno compose project named: pass -p/--project-name, or set ARCAVE_COMPOSE_PROJECT_NAME
The Docker daemon is unreachableNothing: listing reads the store alone and reaches no daemon, whatever the cdc transport.
A record that will not decodeload savepoint 019e843e-1650-7000-8000-000000000000: parse record: … — a corrupt commit is an error, never a silent skip.
No savepointsNo savepoints. on a terminal, [] in JSON; exit code 0.

Examples​

List everything
arcave savepoint list
Ids and names, one per line
arcave savepoint list | jq -r '.[] | "\(.id) \(.name)"'
Find the safety snapshots
arcave savepoint list --include-safety-snapshots \
| jq -r '.[] | select(.labels."arcave-safety-snapshot" == "true") | "\(.id) before rollback to \(.taken_before_rollback_to | if .name != "" then .name else .id end)"'
What the last savepoint cost the store
arcave savepoint list | jq '[.[0] | (.stats // [])[].stored_bytes, (.writable_layers // [])[].stored_bytes, (.images // [])[].stored_bytes] | map(. // 0) | add'

Next step​

arcave rollback — return the environment to one of them.

Tools and expertise for reproducible, production-like environments.
Copyright © 2026 Greenmask, Inc.
Privacy Policy