snapshotverify

Documentation

Home » Documentation » Administrator's Guide

snapshotverify

snapshotverify — Verifies that the contents of one or more snapshot files are complete and usable.

Synopsis

snapshotverify [snapshot-id] [--dir {directory}] ...

snapshotverify --help

Description

SnapshotVerifier verifies one or more snapshots in the specified directories.

Where:

[snapshot-id]

is the unique identifier specified when the snapshot was created. (It is also the name of the .digest file that is part of the snapshot.) If you specify a snapshot ID, only snapshots matching that ID are verified. If you do not specify an ID, all snapshots found will be verified.

{directory}

is the directory to search for the snapshot. You can specify the --dir argument multiple times to search multiple directories for snapshot files. If you do not specify a directory, the default is to search the current directory.

Examples

The following command verifies all of the snapshots in the current directory:

$ snapshotverify 

This example verifies a snapshot with the unique identifier "flight" in either the directory /etc/voltdb/save or ~/mysaves:

$ snapshotverify flight --dir /etc/voltdb/save/ --dir ~/mysaves