]> arthur.barton.de Git - bup.git/commitdiff
Add documentation for compression levels
authorZoran Zaric <zz@zoranzaric.de>
Tue, 10 May 2011 00:59:54 +0000 (02:59 +0200)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 15 May 2011 19:39:01 +0000 (15:39 -0400)
Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
Documentation/bup-save.md
Documentation/bup-split.md

index 8ae40f17ee5451f61fdb6cec77256e665839e266..d8b9ca6195aac01fad513c2bd894fbabd1d44db9 100644 (file)
@@ -8,7 +8,7 @@ bup-save - create a new bup backup set
 
 # SYNOPSIS
 
-bup save [-r *host*:*path*] <-t|-c|-n *name*> [-f *indexfile*]
+bup save [-r *host*:*path*] <-t|-c|-n *name*> [-0|-9] [-f *indexfile*]
 [-v] [-q] [--smaller=*maxsize*] <paths...>
 
 # DESCRIPTION
@@ -100,6 +100,16 @@ for `bup-index`(1).
     "bup save -n chroots --graft /root/chroot/a/etc=/chroots/a"
     would be saved as */chroots/a/etc*
 
+-0
+:   set the compression level to 0 (no compression)
+
+    If no compression level is set it defaults to 1.
+
+-9
+:   set the compression level to 9 (highest compression, slowest)
+
+    If no compression level is set it defaults to 1.
+
 # EXAMPLE
 
     $ bup index -ux /etc
index c0c7406e08e77795826f9e28a473620cfbf86b7b..a85bca8ddebb810a1f9ba6a5de7f4942bf7ebab3 100644 (file)
@@ -9,7 +9,7 @@ bup-split - save individual files to bup backup sets
 # SYNOPSIS
 
 bup split [-r *host*:*path*] <-b|-t|-c|-n *name*> [-v] [-q]
-  [--bench] [--max-pack-size=*bytes*]
+  [--bench] [--max-pack-size=*bytes*] [-0|-9]
   [--max-pack-objects=*n*] [--fanout=*count]
   [--git-ids] [--keep-boundaries] [filenames...]
 
@@ -133,6 +133,14 @@ To get the data back, use `bup-join`(1).
     like k, M, or G to specify multiples of 1024,
     1024*1024, 1024*1024*1024 respectively.
 
+-0
+:   set the compression level to 0 (no compression)
+
+    If no compression level is set it defaults to 1.
+
+-9
+:   set the compression level to 9 (highest compression, slowest)
+
 
 # EXAMPLE