Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have centos server. I would like to take the server and install it to another empty server. what is the simplest way to do it?

share|improve this question

Over a network

dd if=/dev/hda | ssh username@backupserver.fqdn \
"dd of=/directory_of_backups_on_ssh_server/backupfile.iso"

Modify to suit.

Stolen from:

share|improve this answer
how do I restore the iso file to a new server? – edotan Apr 2 '11 at 14:54
Do you have physical access, or network access? – JeffG Apr 3 '11 at 23:59

You can take a look and see if Clonezilla may work for you:

Some restrictions depending on if you have software RAID or not and a few others. Definitely good to look into though.

share|improve this answer

if you don't have any custom code (ie everything was installed using yum), you can install centos on a new box, and then install everything in /var/log/rpmpkgs.

After that's done, copy over your config files & ssh key form /etc, then your data.

Change the IP of your old server to an unused one, bounce the new server, make sure it comes up with the right IP, and check everything.

It takes a few steps this way, but it's all very straightforward.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.