emu-verify(1)

NAME
emu-verify - Verify the contents of snapshots

SYNOPSIS
emu verify [<options>] [<sink>[:<snapshot>] ...]

DESCRIPTION
Verifies snapshot checksums by computing against the stored tree. A checksum which does not match is indicative of a snapshot that is in some way corrupted or has been tampered with.

The format for specifying snapshots is in the form <sink>[:<snapshot>]. The <snapshot> value is the 40 digit snapshot ID, and can be obtained from 'emu log'. If omitted, all of the snapshots within a sink will be verified. If no snapshot or sink is specified, every sink will be verified.

Verification uses the same checksum algorithm which was used to generate the snapshot ID. The results of verification are cached in the snapshot node.

OPTIONS

--dont-cache
    Disable the caching of verification results.

--use-cached
    Use cached values from a previous verification where available, instead of computing new checksums.

-S <dir> --source-dir <dir>
    Specify the directory to use as an emu source. Defaults to `.'.

-v --verbose
    Increase verbosity.

--version
    Show version information and quit.

-h --help
    Show this help and quit.

EXAMPLES

Verify all snapshots for all sinks:
    emu verify

Verify all snapshots for sink `origin':
    emu verify origin

Verify a specific snapshot by ID:
    emu verify origin:53b1e624ccedee864cbba76563522be43360ded5

Verify last three snapshots:
    emu verify origin:HEAD origin:HEAD~ origin:HEAD~2

EMU
Part of the emu (1) suite

AUTHOR
Chris Cummins <chrisc.101@gmail.com>

SEE ALSO
emu (1)