Strange result when backing up /etc vs /root
Tomasz Chmielewski
mangoo at wpkg.org
Wed Dec 28 08:27:23 GMT 2005
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
More information about the rsync
mailing list