[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Re: Backup Advice



>>>>> "Richard" == Richard Ibbotson <richard [at] sheflug.co.uk> writes:

    Richard> Baz
    >> http://rsync.samba.org/ is the place to look.

    Richard> As I expected I completely failed to understand any of
    Richard> the syntax on these pages.  It just doesn't make sense to
    Richard> me at all.  I've also had a look at...

    Richard> http://rsync.samba.org/examples.html

    Richard> this confused me even more.  So, how do I make a backup
    Richard> across my own disconnected home network with rsync
    Richard> without ssh ?

OK,

Try:

rsync -Azv --delete /source/dir/ remote_host:/remote/dir/

I've only used SSH, so I'm not exactly sure how the above statement
works - I'm assuming an rsync server process is required on the remote
host.

To use SSH, it's best if you've got your public and private keys
sorted between the live host and backup host, then try:

rsync -Azv -e ssh --delete /source/dir/ remote_host:/remote/dir/

Rsync has more options than you can shake a stick at, but there are
some interesting examples at:

http://www.mikerubel.org/computers/rsync_snapshots/

and the manpage is at

http://samba.anu.edu.au/ftp/rsync/rsync.html

Cheers.

Baz.

-- 
Barrie J. Bremner		OpenPGP public key ID: F78CEE08
baz [at] barriebremner.com	http://barriebremner.com/


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.