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>
bup restore -C ./dest-2 local-etc/2013-11-23-11195/etc
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 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
- Restore a backup from a remote server. (FAIL: unfortunately,
unlike "bup join", "bup restore" does not yet support remote