[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moving fs to new disk using tar



On Tue, Feb 11, 2003 at 12:48:34AM -0500, sean finney wrote:
> heya,
> 
> On Tue, Feb 11, 2003 at 05:11:08PM +1300, Richard Hector wrote:
> > tar -c --atime-preserve -l usr |tar -C /spareide -x -v --atime-preserve
> >   --preserve --same-owner
> 
> may i suggest a less confusing alternative:
> 
> rsync -a usr/ /spareide

Yes, thanks - with the addition of -x (cf -l for tar) because I didn't want
/usr/local (sep filesystem), that's more or less what I did. I also
remounted /usr read-only.

The only thing I couldn't find was an equivalent to the "--atime-preserve"
switch - perhaps rsync does that by default?

Many thanks,

Richard



Reply to: