Philip Rhoades schrieb:
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?

isn't it because you use --delete, and after /etc is backed up, the /etc backup is removed by /root backup?


--
Tomek
http://wpkg.org
WPKG - software management with Samba

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to