July 5, 2007

How can I migrate a linux server (apache, mysql, bind, squid, postfix, etc) for a new machine?

I want to migrate my linux server from an old machine to a new one. This server runs many services as mail, ftp, dns, proxy, database, web server, etc. It's an Ubuntu server 6.01 in both pcs, with grub. In the new machine I'm using RAID 1 by software with /boot - / - /var - swap. The old one has no RAID. Could I use RSync to do the job. I tried before by making a tar file with all my partitions and extract it in the new machine using an nfs share but the new machine can't boot after this. Any ideas?

  1. My suggestion would be to either put the old drive containing your linux partition into a USB external HDD box and plug it into the new machine, or temporarily put an IDE controller into the new machine alongside the RAID and then use a utility like norton ghost to copy it onto a partition on your new raid drive.

    Good luck.

  2. I would install a basic system on the new machine, insure you have your partitions and RAID set up the way you want them, then copy your own files, then get the configuration files for the services you are using.

    Copying all the files will overwrite things like your fstab file, so the partition settings would be wrong, and you would most likely end up with a system confused about the RAID disks.

  3. Give up dude

Tags: ,

Tell a Friend Today!

del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Blogg-Buzz Google Ma.gnolia Netscape ppnow Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Windows Live Wists Yahoo! Help

Permalink • Print

Track this entry

RSS BlogPulse

RSS Technorati Cosmos

Related Searches

, , , ,