[linux-elitists] rsync for backup

Marc MERLIN marc@merlins.org
Thu Mar 1 19:53:23 PST 2001


On Thu, Mar 01, 2001 at 10:16:34AM -0800, Don Marti wrote:
> I'm using rsync to back up my stuff but the script I have is not exactly
> a thing of beauty. Does anyone have an rsync backup script that you run
> from cron and that you're willing to share?

alias updatersync='rsync -av -SH --delete --dry-run --delete-after'
alias updatersyncr='rsync -av -SH --delete --delete-after'

run the first one to make sure it's actually going to do what you're hoping
for, and the second one actually does the rsync.

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key



More information about the linux-elitists mailing list