On Sat, 2003-03-01 at 16:07, Richard Ibbotson wrote: > Rsync... best tool invented for network file exchange. You can even > use it with SSH over the internet between work and home. > > http://samba.anu.edu.au/rsync/ I use rsync for backing up to a second box 2-3 times a day (paranoid about loosing work), although I would loose it in the event of a fire. I have rsync running on both the laptop and desktop (and since it's only me with access to the machines - I'm not overly concerned about running rsync as root) /etc/rsyncd.conf [home] comment=home area path = /home read only = no list = yes uid = root gid = root hosts allow = 172.20.6.192/27 When leaving home with laptop.. (this I enter on the desktop- the laptop is 172.20.6.197) rsync -v -a -r -l -p -o -g -t --delete /home/ 172.20.6.197::home Then when coming back with laptop. (again, I enter this on the desktop) rsync -v -a -r -l -p -o -g -t --delete 172.20.6.197::home /home/ I'd recommend you leaving the --delete option off, since it, well deletes files which rsync detects are not required. It's useful when you know that rsync is working as you need it - but until that time don't use it man rsync explains what I've got above; but sometimes it's useful to have an example to glance at when reading the man pages. -- Regards, Adam Allen. adam@dynamicinteraction.co.uk pgp http://search.keyserver.net:11371/pks/lookup?op=vindex&search=adam%40dynamicinteraction.co.uk
Attachment:
signature.asc
Description: This is a digitally signed message part