snapdir verify

Verify the integrity of a staged snapshot.

verify re-checks the objects of a staged snapshot against the checksums in its manifest, confirming nothing in the cache has drifted. See Integrity.

Usage

snapdir verify [OPTIONS]

Options

verify takes no positional arguments. It accepts the global options; the most relevant are --id (snapshot to verify), --cache-dir, and --purge (drop objects with invalid checksums).

Examples

Verify a staged snapshot by ID:

snapdir verify --id 1220abc...

Verify and purge any objects that fail their checksum:

snapdir verify --id 1220abc... --purge

See also