Question:
how can i migrate a linux server (apache, mysql, bind, squid, postfix, etc) for a new machine?
aac_flash
2007-04-05 12:48:59 UTC
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?
Three answers:
Joe M
2007-04-05 12:57:52 UTC
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.
Ken H
2007-04-05 20:32:29 UTC
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.
MysticPinnacle
2007-04-13 16:09:44 UTC
Give up dude


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...