]> arthur.barton.de Git - bup.git/commitdiff
README: prefer "init -r" to "ssh ... bup init"
authorTadej Janež <tadej.j@nez.si>
Fri, 1 May 2015 16:02:09 +0000 (18:02 +0200)
committerRob Browning <rlb@defaultvalue.org>
Sat, 9 May 2015 17:49:53 +0000 (12:49 -0500)
Recommend 'bup init -r SERVERNAME:PATH' instead of 'ssh SERVENAME bup
init'.

Update the example of making a backup to a remote server in README.md.
Replace 'ssh SERVENAME bup init' with 'bup init -r SERVERNAME'. The
latter doesn't only initialize the remote repository, but also the local
one (if it doesn't exist).  Augment 'bup {init,save} -r SERVERNAME'
commands with the path specifier to show the ability to specify the
remote path.

Signed-off-by: Tadej Janež <tadej.j@nez.si>
Reviewed-by: Gabriel Filion <gabster@lelutin.ca>
[rlb@defaultvalue.org: shorten/adjust commit summary; adjust and change
 tense of commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
README.md

index c18e56439ebb29e866f893a249af954e6b752449..7eb4c2dc8c5cef4954b6936eee07fba46fe1db3b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -220,14 +220,14 @@ Using bup
 
         bup restore -C ./dest-2 local-etc/2013-11-23-11195/etc
 
- - Make a backup to a remote server (which must already have the 'bup' command
-   somewhere in the server's PATH (see /etc/profile, etc/environment,
-   ~/.profile, or ~/.bashrc), and be accessible via ssh.
-   Make sure to replace SERVERNAME with the actual hostname of your server):
+ - Make a backup to a remote server which must already have the 'bup' command
+   somewhere in its PATH (see /etc/profile, etc/environment, ~/.profile, or
+   ~/.bashrc), and be accessible via ssh.
+   Make sure to replace SERVERNAME with the actual hostname of your server:
 
-        ssh SERVERNAME bup init
+        bup init -r SERVERNAME:path/to/remote-bup-dir
         bup index /etc
-        bup save -r SERVERNAME: -n local-etc /etc
+        bup save -r SERVERNAME:path/to/remote-bup-dir -n local-etc /etc
 
  - Restore a backup from a remote server.  (FAIL: unfortunately,
    unlike "bup join", "bup restore" does not yet support remote