dedup

data deduplication program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | README | LICENSE

dedup.1 (1540B)


      1 .Dd April 10, 2019
      2 .Dt DEDUP 1
      3 .Os
      4 .Sh NAME
      5 .Nm dedup
      6 .Nd data deduplication program
      7 .Sh SYNOPSIS
      8 .Nm dedup
      9 .Op Fl cilv
     10 .Op Fl H Ar hash
     11 .Op Fl Z Ar compressor
     12 .Op Fl e Ar id
     13 .Op Fl r Ar root
     14 .Op Fl m Ar message
     15 .Op file
     16 .Sh DESCRIPTION
     17 .Nm
     18 deduplicates data from the specified
     19 .Ar file .
     20 If no
     21 .Ar file
     22 is specified then it reads from standard input.
     23 .Pp
     24 .Nm
     25 does not track any file metadata so to deduplicate
     26 directory trees, an archival tool like
     27 .Xr tar 1
     28 should be used and piped into
     29 .Nm .
     30 .Sh OPTIONS
     31 .Bl -tag -width "-Z compressor"
     32 .It Fl H Ar hash
     33 The cryptographic hash function used to identify
     34 unique blocks in the store.
     35 The supported hash functions are blake2b, blake2bp, blake2s and blake2sp.
     36 This flag only has an effect when initializing the repository.
     37 By default blake2b is used.
     38 .It Fl Z Ar compressor
     39 The compressor function used to compress the blocks
     40 in the store.
     41 The supported compressor functions are none, lz4 and snappy.
     42 This flag only has an effect when initializing the repository.
     43 By default lz4 is used.
     44 .It Fl c
     45 Perform a consistency check on the repository.
     46 .It Fl i
     47 Initialize the repository.
     48 .It Fl l
     49 List snapshots.
     50 .It Fl v
     51 Enable verbose mode.
     52 .It Fl e Ar id
     53 Extract snapshot with the specified id.
     54 .It Fl r Ar root
     55 Set the directory where the repository will be created.
     56 By default the repository is created in the current directory.
     57 .It Fl m Ar message
     58 Attach a descriptive message to the snapshot.
     59 .El
     60 .Sh AUTHORS
     61 .An Dimitris Papastamos Aq Mt sin@2f30.org ,
     62 .An z3bra Aq Mt contactatz3bradotorg .