Hello,
thanks for your prompt reply.. i was leaving that option as a last resort... the problem is that this machine is a production machine so if i rsync, i need to turn off the services in order to copy files or else ill have permission denied errors...
any other way?
i;ll start the proccess of creating a fresh instalation today though i dunno how to do the followign:
1. backing up my mysql databases is it enough to cp /var/lib/mysql and /user/lib/mysql or i have to export them? and if thats the case how can i export? 2. anyway of copying user permissions and passwords? or i have to create them all over again ?
Date: Thu, 22 Oct 2009 04:49:21 -0400 From: gebser@mousecar.com To: centos@centos.org Subject: Re: [CentOS] Help! i want to clone my Centos machine to another box..
On 10/22/2009 04:06 AM RoLaNd RoLaNd wrote:
Hello all,
i've spent the last week trying to find something that will clone my existing Centos server to a more powerful box. i've used clonezilla though that resulted in a complete failure..
can anyone please guide me in the right direction? all i want to do is to clone my entire server and all of it's directories to a more powerful server so i start using it instead.. i dont want to get rid of the current server as i want both of them to run in parallel with the same backed up services/data on each of them..
can anyone please help! im honestly desperate!!
best,
Roland
Since the destination machine is "more powerful", the hardware is likely different, so cloning per se isn't an option. Instead, you should do a fresh install of the same version on the new (destination) box, then copy the data over from the weaker to the destination machine.
There are a variety of options for copying the data. Since it sounds like there's some pressure at the moment, the best way for you now is going to be the method you're most familiar with. Do you have good, recent backups of the source system? If so, you could restore that backup to the destination machine. Otherwise (if your two machines are both on the same network), you could use tar or rsync or yet other utilities.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_________________________________________________________________ Windows Live: Make it easier for your friends to see what you’re up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/soc...