[CentOS] Moving files to new server

Sun Mar 5 15:51:21 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Sun, 2006-03-05 at 10:20 -0500, Thomas E Dukes wrote:
>  
> > -----Original Message-----
> > From: centos-bounces at centos.org 
> > [mailto:centos-bounces at centos.org] On Behalf Of Chris Mauritz
> > Sent: Sunday, March 05, 2006 10:08 AM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Moving files to new server
> > 
> > Thomas E Dukes wrote:
> > > Hello,
> > >
> > > I am getting a new computer and am going to need to move the files 
> > > from the old to the new.  What is the best way to do this?
> > >
> > > Should I install CentOS from scratch on the new computer 
> > then move the 
> > > directories I need?  How do I maintain permissions if this 
> > is the best way?
> > >   
> > 
> > If you have the luxury of having both machines online at the 
> > same time, why not just use the easy way out and use rsync?  
> > Or as someone else suggested, you could physically attach the 
> > new drive to the old computer and copy the data to to it with 
> > any number of tools (tar/dump/cp/etc....).
> > 
> > Cheers,
> 
> I can put both online but have never used rsync nor dump.  The old pc is
> old! A P3-450, 18GB HD.  The new one is a P4-3.0Ghz with 1GB ram.  The way
> CentOS will do the partitions will probably be different than from the old,
> especially the SWAP.  

You don't need to copy swap.

> The old system has been upgraded numerous times since
> RedHat 8.0.  I like the idea of a fresh install but want to make sure I have
> everything working on the new without missing something I installed on the
> old one.

You can just use disk druid and create your partitions any way you
want ...

I personally grab the old hard drive, stick it in the new PC and use
rsync (or cp -a ) to copy each partition into the new one.

> 
> Decisions, decisions.............


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060305/b0ddfd94/attachment-0004.sig>