snapdir ancestors
List ancestor snapshot IDs and their locations.
ancestors walks the catalog history for a snapshot and prints the IDs that
precede it, along with where they were recorded. 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 ancestors [OPTIONS]
Options
ancestors takes no positional arguments.
Examples
List the ancestors of a snapshot:
snapdir ancestors --id 1220abc...
List ancestors scoped to a particular location:
snapdir ancestors --id 1220abc... --location /srv/project
Disable catalog querying explicitly:
snapdir ancestors --id 1220abc... --catalog none
See also
snapdir revisions— list snapshot IDs for a locationsnapdir locations— list known locations- History guide