[lug] Automated USB Drive Backup

karl horlen horlenkarl at yahoo.com
Fri Oct 26 17:09:23 MDT 2007


> >> rsync -v --archive --stats --delete --backup
>
--backup-dir=/backup/history/fileserv/20071026/photo1
> >>  /photo1/ /backup/fileserv/photo1/

> > So your deltas are not really deltas.  They are
> > actually mirroring the entire tree every backup
> cycle?

> The --backup flag for rsync doesn't do a full backup
> it just does a 
> backup of what it is about to change.  

I did not know that!  Has the --backup flag been out
for a long time because I completely missed it?

Either way I'm liking it.

> udev is the hotplug mechanism these days.  If you go
> through the man 
> page, do a bit of google, you should be able to
> piece together a udev 
> script.  udev will match on what you tell it to
> (e.g. the usb vendor id 
> or ...) and then run the script.  The script would
> then be responsible 
> for taking care of the mount, checking if you want
> to do a backup or 
> restore, ...

Thanks.  I just read a reply from Lee on this and I'm
starting to think this is not the best way to go.  


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the LUG mailing list