rsync backup

Andy Green andy at warmcat.com
Tue Aug 7 10:51:34 UTC 2007


Somebody in the thread at some point said:

> # This is the rsync bash file for root
> 
> rsync -avg /home/ /media/disk/
> 
> rsync -avg /etc /media/disk/

You can pile up all the source dirs in a single rsync, the last one is
the destination

rsync -avg \
 /home \
 /etc \
 /other-things \
 /media/disk

Yep rsync is great for backup.

-Andy




More information about the users mailing list