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. See the History guide.

Usage

snapdir ancestors [OPTIONS]

Options

ancestors takes no positional arguments. It accepts the global options; the most relevant are --id (snapshot whose ancestors to list), --location, and --catalog.

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

See also