snapdir revisions
List snapshot IDs created on a location (store or absolute path).
revisions prints the snapshot IDs the catalog has recorded for a given location
— a store URI or an absolute path — newest history first. The default catalog is
used when --catalog is unset. Pass --catalog none to disable catalog queries;
the command prints a disabled message instead of silently returning an empty
result. See the History guide.
Usage
snapdir revisions [OPTIONS]
Options
revisions takes no positional arguments.
Examples
List the revisions recorded on an absolute path:
snapdir revisions --location /srv/project
List the revisions recorded on a store:
snapdir revisions --location s3://my-bucket/snapshots
Disable catalog querying explicitly:
snapdir revisions --location s3://my-bucket/snapshots --catalog none
See also
snapdir ancestors— list a snapshot's ancestorssnapdir locations— list known locations- History guide