Strange result when backing up /etc vs /root
phil at chu.com.au
Fri Dec 30 05:12:00 GMT 2005
I was using:
rh8 & rsync-2.5.5-1.i386.rpm
I upgraded to:
rsync-2.6.6-1.0.rh9.rf.i386.rpm (on RH8)
and added the "-i" switch and it worked! - only /etc/crontab was backed
up (which is correct).
Maybe there was a problem with the older version that behaved
differently on /etc compared to /root for some odd reason?
On Wed, 2005-12-28 at 10:29 -0800, Wayne Davison wrote:
> 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.
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
E-mail: phil at chu.com.au
More information about the rsync