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 c464b663ad1fde4840833877c100064aef076a9e /scm/dedup/commit/c464b663ad1fde4840833877c100064aef076a9e.gph bitreich.org 70 1parent 63f22ba05c13f6070704aa494e3f54b602194e74 /scm/dedup/commit/63f22ba05c13f6070704aa494e3f54b602194e74.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Mon, 18 Feb 2019 17:57:04 +0000 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@@ -3,9 +3,9 @@ dedup is a simple data deduplication program. Err bitreich.org 70 i dedup only handles a single file at a time, so using tar is advised. Err bitreich.org 70 i For example, to dedup a tar file you can invoke dedup as follows: Err bitreich.org 70 i Err bitreich.org 70 i- tar cf - ~/bak | dedup -r ~/bak-dedup -m "$(date)" Err bitreich.org 70 i+ tar -c ~/bak | dedup -r ~/bak -m "$(date)" Err bitreich.org 70 i Err bitreich.org 70 i-This will create .{cache,index,store} files in the ~/bak-dedup Err bitreich.org 70 i+This will create .{cache,index,store} files in the ~/bak Err bitreich.org 70 i directory. The store file contains all the unique blocks. The index Err bitreich.org 70 i file contains all the revisions of files that have been deduplicated. Err bitreich.org 70 i Each revision is identified by its SHA256 hash. The cache file is Err bitreich.org 70 i@@ -13,14 +13,14 @@ only used to speed up block comparison. Err bitreich.org 70 i Err bitreich.org 70 i To list all known revisions run: Err bitreich.org 70 i Err bitreich.org 70 i- dedup -r ~/bak-dedup -l Err bitreich.org 70 i+ dedup -r ~/bak -l Err bitreich.org 70 i Err bitreich.org 70 i You will get a list of hashes. Each hash corresponds to a single file Err bitreich.org 70 i (in this case, a tar archive). Err bitreich.org 70 i Err bitreich.org 70 i To extract a file from the deduplicated store run: Err bitreich.org 70 i Err bitreich.org 70 i- dedup -r ~/bak-dedup -e > bak.tar Err bitreich.org 70 i+ dedup -r ~/bak -e > bak.tar Err bitreich.org 70 i Err bitreich.org 70 i Cheers, Err bitreich.org 70 i sin Err bitreich.org 70 .