Strange result when backing up /etc vs /root

Philip Rhoades phil at chu.com.au
Wed Dec 28 08:13:27 GMT 2005


People,

My backup script has lines:

dt=`date '+%Y%m%d'`
.
.
        DELETE="--delete"
.
.
rsync -av $DELETE --backup --backup-dir /delmod/$dt /etc /backup/

rsync -av $DELETE --backup --backup-dir /delmod/$dt /root /backup/

- only the changes to /root get backed up but ALL of /etc gets backed up
everytime! - why should this happen?

Thanks,

Phil.
-- 
Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW      2001
Australia
Mobile:  +61:0411-185-652
Fax:  +61:2:8923-5363
E-mail:  phil at chu.com.au




More information about the rsync mailing list