]> arthur.barton.de Git - bup.git/blobdiff - Documentation/bup-save.md
Documentation/bup-save.md: change --strip-prefix to --strip-path.
[bup.git] / Documentation / bup-save.md
index b8edd8d1fce96b73d7077d051bd022082250cfb8..2dcd21a7e6c12784e6c6611183334620e431555f 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*> [-#] [-f *indexfile*]
 [-v] [-q] [--smaller=*maxsize*] <paths...>
 
 # DESCRIPTION
@@ -26,7 +26,10 @@ for `bup-index`(1).
 -r, --remote=*host*:*path*
 :   save the backup set to the given remote server.  If
     *path* is omitted, uses the default path on the remote
-    server (you still need to include the ':')
+    server (you still need to include the ':').  The connection to the
+    remote server is made with SSH.  If you'd like to specify which port, user
+    or private key to use for the SSH connection, we recommend you use the
+    `~/.ssh/config` file.
 
 -t, --tree
 :   after creating the backup set, print out the git tree
@@ -44,7 +47,11 @@ for `bup-index`(1).
     (Thus, you can continually create new backup sets with
     the same name, and later view the history of that
     backup set to see how files have changed over time.)
-    
+
+-d, --date=*date*
+:   specify the date of the backup, in seconds since the epoch, instead
+    of the current time.
+
 -f, --indexfile=*indexfile*
 :   use a different index filename instead of
     `~/.bup/bupindex`.
@@ -81,8 +88,8 @@ for `bup-index`(1).
     "bup save -n chroot --strip /root/chroot" would be saved
     as */etc*.
     
---strip-prefix=*path-prefix*
-:   strips the given path-prefix *path-prefix* from all
+--strip-path=*path-prefix*
+:   strips the given path prefix *path-prefix* from all
     files and directories.
     
     A directory */root/chroots/webserver* saved with
@@ -97,6 +104,12 @@ for `bup-index`(1).
     "bup save -n chroots --graft /root/chroot/a/etc=/chroots/a"
     would be saved as */chroots/a/etc*
 
+-*#*, --compress=*#*
+:   set the compression level to # (a value from 0-9, where
+    9 is the highest and 0 is no compression).  The default
+    is 1 (fast, loose compression)
+
+
 # EXAMPLE
 
     $ bup index -ux /etc
@@ -145,7 +158,7 @@ for `bup-index`(1).
 # SEE ALSO
 
 `bup-index`(1), `bup-split`(1), `bup-on`(1),
-`bup-restore`(1)
+`bup-restore`(1), `ssh_config`(5)
 
 # BUP