diff --git a/check.md b/check.md index d89ef2c..3eb2d49 100644 --- a/check.md +++ b/check.md @@ -13,6 +13,7 @@ OPTIONS: -fossils search fossils if a chunk can't be found -resurrect turn referenced fossils back into chunks -files verify the integrity of every file + -chunks verify the integrity of every chunk -stats show deduplication statistics (imply -all and all revisions) -tabular show tabular usage and deduplication statistics (imply -stats, -all, and all revisions) -storage retrieve snapshots from the specified storage @@ -26,6 +27,8 @@ The revision number is a number assigned to the snapshot when it is being create By default the *check* command only verifies the existence of chunks. To verify the full integrity of a snapshot, you should specify the `-files` option, which will download chunks and compute file hashes in memory, to make sure that all hashes match. +You can also verify the integrity of snapshots with the `-chunks` option. Unlike the `-files` option, this option will download and check each chunk once. + By default the *check* command does not find fossils. If the `-fossils` option is specified, it will find the fossil if the referenced chunk does not exist. if the `-resurrect` option is specified, it will turn the fossil back into a chunk. When the repository can have multiple storages (added by the *add* command), you can specify the storage to check by specifying the storage name.