I have been using rsync for a year or two. It has been happily backing
up one of our offices over a phone link. However I made a slight change
recently and seem to be getting some unexpected behaviour. Perhaps one
of the readers of this list can shed some light on it for me. TIA
I have the following run by cron each night:
rsync -avz --perms --owner --group --times --delete --force /home/
picard::sulu-archive >> /var/log/rsync-$DATE.log
On picard /etc/rsyncd.conf contains this:
[sulu-archive]
path = /home/sulu
read only = no
uid = root
gid - root
comment = homes export area
NOW recemtly I moved a directory on sulu, /home/listerforms (to be
specific) to /var/listerforms and created the following link:
/home/listerforms -> /var/listerforms
I also added the following to my cron job:
rsync -avz --perms --owner --group --times --delete --force
/var/listerforms picard::sulu-archive >> /var/log/rsync-$DATE.log
Now my rsync has gone crazy in the following way. Each night it deletes
everything from listerforms on picard (ie. /home/sulu/listerforms) and
then backs up everything from listerforms on sulu (ie.
/var/listerforms).
Can anyone shed some light on what is happening ?
thanks,
Wilson Fletcher
--
Wilson Fletcher, McLachlan Group Pty Ltd
Level 34, 225 George St Sydney NSW 2000
Phone: +61 2 92516511 Fax: +61 2 92517343
Email: [EMAIL PROTECTED]