[CentOS] Best way to migrate a server?

Wed Aug 20 13:37:57 UTC 2008
Kevin Thorpe <kevin at pricetrak.com>

Les Mikesell wrote:
> Kevin Thorpe wrote:
>> I was just wondering what recommendations you have on migrating a 
>> CentOS 5 install between servers?
>>
>> I've done similar in the past by setting up a minimal install in the 
>> new server, use tar to copy over the old install and reboot. I was 
>> thinking of rsync this time.
>>
>> Is that an acceptable thing to do or have I missed something important?
>
> If they are identical at least in terms of disk controllers and size 
> and you have space on the network to hold a compressed image copy, 
> clonezilla-live is probably the easiest way to do it: 
> http://www.clonezilla.org/clonezilla-live/
>
> If the disk controllers or sizes are different, you'll have to at 
> least generate a new initrd image. Doing a new install might be the 
> easiest way, but when you copy the old system over you need to be sure 
> that they are updated to the same kernel and keep the contents of your 
> new /boot and a few other files (/etc/fstab, /etc/modprobe.conf, etc.).
>
Same os, same release. I know about fstab and modprobe.conf (was 
modprobe.init)

anyway, suck-it-and-see since the new server is currently surplus to 
requirements.