dup-check.1 (834B)
1 .Dd May 5, 2019 2 .Dt DUP-CHECK 1 3 .Os 4 .Sh NAME 5 .Nm dup-check 6 .Nd Check snapshot consistency 7 .Sh SYNOPSIS 8 .Nm dup-check 9 .Op Fl v 10 .Op Fl k Ar keyfile 11 .Op Fl r Ar repo 12 .Ar name 13 .Sh DESCRIPTION 14 .Nm 15 performs an internal consistency check on a 16 snapshot with the given 17 .Ar name . 18 This is done by recalculating the hash of 19 all blocks contained in the snapshot and checking 20 whether the recorded hash of each block matches the 21 actual hash. 22 .sp 23 If a corrupt block is detected, the hash of the 24 block will be printed on standard output. 25 .Sh OPTIONS 26 .Bl -tag -width "-k keyfile" 27 .It Fl k Ar keyfile 28 Path to encryption key. 29 .It Fl r Ar repo 30 Path to the dedup repository. 31 By default the current working directory is used. 32 .It Fl v 33 Enable verbose mode. 34 .El 35 .Sh AUTHORS 36 .An Dimitris Papastamos Aq Mt sin@2f30.org , 37 .An z3bra Aq Mt contactatz3bradotorg .