iUpdate README - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 0b9b91faf2325a32e7eb1392373efd88a04b75fe /scm/dedup/commit/0b9b91faf2325a32e7eb1392373efd88a04b75fe.gph bitreich.org 70 1parent 5feac127c6cb72c380aa467241dffc2f299ce7de /scm/dedup/commit/5feac127c6cb72c380aa467241dffc2f299ce7de.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Fri, 3 May 2019 00:07:29 +0100 Err bitreich.org 70 i Err bitreich.org 70 iUpdate README Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M README | 8 ++++---- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 4 insertions(+), 4 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/README b/README /scm/dedup/file/README.gph bitreich.org 70 i@@ -17,13 +17,13 @@ the repository. The archive directory contains the snapshots. Err bitreich.org 70 i dedup only handles a single file at a time, so using tar is advised. Err bitreich.org 70 i To deduplicate a directory tree invoke dup-pack(1) as follows: Err bitreich.org 70 i Err bitreich.org 70 i- tar -c ~/dir | dup-pack -r repo foo Err bitreich.org 70 i+ tar -cf - ~/dir | dup-pack -r repo foo Err bitreich.org 70 i Err bitreich.org 70 i This will create a new snapshot called foo under repo/archive/. Err bitreich.org 70 i Err bitreich.org 70 i To extract the snapshot: Err bitreich.org 70 i Err bitreich.org 70 i- dup-unpack -r repo foo | tar -x Err bitreich.org 70 i+ dup-unpack -r repo foo | tar -xf - Err bitreich.org 70 i Err bitreich.org 70 i Encrypting a dedup repository Err bitreich.org 70 i ============================= Err bitreich.org 70 i@@ -40,11 +40,11 @@ algorithm: Err bitreich.org 70 i Err bitreich.org 70 i To create a snapshot named foo: Err bitreich.org 70 i Err bitreich.org 70 i- tar -c ~/dir | dup-pack -k keyfile -r repo foo Err bitreich.org 70 i+ tar -cf - ~/dir | dup-pack -k keyfile -r repo foo Err bitreich.org 70 i Err bitreich.org 70 i To extract the snapshot: Err bitreich.org 70 i Err bitreich.org 70 i- dup-unpack -k keyfile -r repo foo | tar -x Err bitreich.org 70 i+ dup-unpack -k keyfile -r repo foo | tar -xf - Err bitreich.org 70 i Err bitreich.org 70 i All tools understand the -k option when operating on an encrypted Err bitreich.org 70 i dedup repository. Err bitreich.org 70 .