Strange result when backing up /etc vs /root
Wayne Davison
wayned at samba.org
Wed Dec 28 18:29:46 GMT 2005
On Wed, Dec 28, 2005 at 07:13:27PM +1100, Philip Rhoades wrote:
> - only the changes to /root get backed up but ALL of /etc gets backed up
> everytime! - why should this happen?
I don't see any reason why that should happen in what you've presented:
you should be ending up with /backup/etc and a /backup/root directories
after the two rsync commands have completed. You can use the --itemize
(-i) option in newer rsync versions to ask rsync to tell you why it is
updating files (e.g. if the files are missing or differ in size and/or
time). That may give you a clue as to what is happening.
..wayne..
More information about the rsync
mailing list