Strange result when backing up /etc vs /root
mangoo at wpkg.org
Wed Dec 28 08:27:23 GMT 2005
Philip Rhoades schrieb:
> My backup script has lines:
> dt=`date '+%Y%m%d'`
> 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?
WPKG - software management with Samba
More information about the rsync