[CentOS] How to clone CentOS server ?

Wed Aug 26 14:42:58 UTC 2009
Johnny Hughes <johnny at centos.org>

R-Elists wrote:
>> Don't know if that is really true ... Anyway:
>> Install a minimal system and then rsync everything over.
>>
>> Kai
>>
>> --
>> Kai Schätzl, Berlin, Germany
> 
> Kai
> 
> for list purposes, would you consider sharing a script that shows what to
> sync and what *not* to sync
> 
> :-)

I usually sync everything except /dev, /sys, /proc

However, you will also need to edit /etc/fstab and /boot/grub/grub.conf
if the disk configurations are different.

You also might need to edit /etc/hosts and /etc/sysconfig/network and
/etc/sysconfig/network-scripts/ifcfg-eth* to change IP addresses.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20090826/c35ddb4a/attachment-0005.sig>