Strange result when backing up /etc vs /root

Philip Rhoades phil at chu.com.au
Fri Dec 30 05:12:00 GMT 2005


Wayne,

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?

Many thanks,

Phil.


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.
> 
> ..wayne..
> 
-- 
Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW      2001
Australia
Mobile:  +61:0411-185-652
Fax:  +61:2:8923-5363
E-mail:  phil at chu.com.au




More information about the rsync mailing list