[clue-tech] Help using 'rsync'?

David L. Anselmi anselmi at anselmi.us
Sat Mar 28 20:18:32 MDT 2009


Adrian F. Nagle, IV wrote:
> Folks,
> 
> I found this command for backups.  It appears to do what I want, that
> is copy the contents of one USB drive to another USB drive: sudo
> rsync -av --progress --delete --log-file=/home/addy/Desktop/$(date+%Y%m%d_rsync.log /media/nagle_ext1 /media/nagle_ext1_bk

Be careful of the --delete, say in the case that nagle_ext1 isn't mounted.

There are tricks you can use to make this keep backups over several 
days/weeks/whatever.  But if you want that then probably rdiff-backup 
would be better.

Dave



More information about the clue-tech mailing list