[NBLUG/talk] Automatic backups
    Walter Hansen 
    gandalf at sonic.net
       
    Sun Aug 13 17:06:33 PDT 2006
    
    
  
Lincoln Peters wrote:
> I'm thinking that I should be able to get a complete backup of my home 
> directory to an external hard disk (mounted at /backup) by using the 
> following rsync command:
> 
> rsync -rlptgoHES --delete-during ~ /backup/
> 
> Anyone see any reason why this wouldn't work, and/or a better way to do it?  I 
> don't see any problems myself, but I thought I should ask, just in case I made 
> some mistake that would render the backup completely useless.
I don't see a -E in the man page, but all the rest seem fine. ~ should 
auto expand out to home. Cept for not knowing what E does looks fine to 
me. I'd test it manually and then set it as a cron task.
I was using:
rsync -axHv --del /home/* /mnt/backup
and it worked pretty nice.
    
    
More information about the talk
mailing list