From dd5a15fbaefe675afe22859e8d2cabd362402b6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tadej=20Jane=C5=BE?= Date: Fri, 1 May 2015 18:02:09 +0200 Subject: [PATCH] README: prefer "init -r" to "ssh ... bup init" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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ž Reviewed-by: Gabriel Filion [rlb@defaultvalue.org: shorten/adjust commit summary; adjust and change tense of commit message.] Reviewed-by: Rob Browning --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c18e564..7eb4c2d 100644 --- 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 -- 2.39.2