Rsync for backup: a surprising easy and good solution
2008-02-05 18:11:53 PST
Tags: Guide, Linux, Server
I just stumbled on an really neat simple little article on how dead easy rsync is for doing backup work. It's easy to use, can use existing infrastructure (SSH) and does diffs to minimize data transmission.
It's as simple as this
rsync -a -e ssh Documents haplo@kvasir.mindstab.net:~/backup
And then the reverse to get new stuff.
The full article is at www.enterprisenetworkingplanet.com/netos/article.php/10951_1573881_2. I'm doing this with a bunch of my data now! I'm excited because I'd been thinking about setting up some backup solution for a bit but this is so trivially easy and more than good enough it's delightful.





February 7th, 2008 at 12:05 am
The -e ssh is not necessary. From the rsync manpage:
” -e, –rsh=COMMAND This option allows you to choose an alternative remote shell program to use for communication between the local and remote copies of rsync. Typically, rsync is configured to use ssh by default, but you may prefer to use rsh on a local network.”
cheers
February 7th, 2008 at 8:25 am
Awesome, thanks