-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Johnny Hughes Sent: Sunday, March 05, 2006 10:51 AM To: CentOS ML Subject: RE: [CentOS] Moving files to new server
On Sun, 2006-03-05 at 10:20 -0500, Thomas E Dukes wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@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.
Hello Johnny,
I believe by default, CentOS will setup a /boot, / and SWAP partitions. Is it still a good idea these days to create one for /home and /var?
Thanks!!