Kevin Thorpe schrieb:> I was just wondering what recommendations you have on migrating a > CentOS 5 install between servers? > > I've done similar in the past by setting up a minimal install in the > new server, use tar to copy over the old install and reboot. I was > thinking of rsync this time. > > Is that an acceptable thing to do or have I missed something important? >You can only sensibly do that using a live-CD on the 2nd server. Because, last time I looked, if you overwrote "important" libraries that were in use at the time of overwriting, the server would just crash. At least, that's what happened with my backup-software back then. With a live-CD, you could also just pipe "dd" through netcat.... Rainer
I can recommend Mondorescue (http://www.mondorescue.org) It can backup to file, cd, network, disk etc... I made numerous backups and restores with this very good (free) tool... On Wed, 20 Aug 2008 12:23:00 +0100 Kevin Thorpe <kevin at pricetrak.com> wrote: kevin> From: Kevin Thorpe I was just wondering what recommendations you have on migrating a CentOS 5 install between servers? kevin> kevin> I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time. kevin> kevin> Is that an acceptable thing to do or have I missed something important? kevin> kevin> thanks -- Test <test at remedial-teacher.nl>
I was just wondering what recommendations you have on migrating a CentOS 5 install between servers? I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time. Is that an acceptable thing to do or have I missed something important? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080820/a2b0a455/attachment-0005.html>
Rainer Duffner wrote:> Kevin Thorpe schrieb: >> I was just wondering what recommendations you have on migrating a >> CentOS 5 install between servers? >> >> I've done similar in the past by setting up a minimal install in the >> new server, use tar to copy over the old install and reboot. I was >> thinking of rsync this time. >> >> Is that an acceptable thing to do or have I missed something important? >> > > > You can only sensibly do that using a live-CD on the 2nd server. > Because, last time I looked, if you overwrote "important" libraries > that were in use at the time of overwriting, the server would just crash. > At least, that's what happened with my backup-software back then. > > With a live-CD, you could also just pipe "dd" through netcat....I must have been lucky and got away with it before. Live-CD sounds like the way to go. First time I've migrated a production server where I can't put the new drives in the old box to do the copy.
Looks good. I especially like the fact that it builds a custom boot cd for your system. That's the bit missing from my current backup system (bacula). I'll see if I can splice the two together for disaster time. Test wrote:> I can recommend Mondorescue (http://www.mondorescue.org) > > It can backup to file, cd, network, disk etc... > > > I made numerous backups and restores with this very good (free) tool... > > > > > On Wed, 20 Aug 2008 12:23:00 +0100 > Kevin Thorpe <kevin at pricetrak.com> wrote: > > kevin> From: Kevin Thorpe I was just wondering what recommendations you have on migrating a CentOS 5 install between servers? > kevin> > kevin> I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time. > kevin> > kevin> Is that an acceptable thing to do or have I missed something important? > kevin> > kevin> thanks > >-- Kevin Thorpe Head of IT Purchasing Index Ltd Southbank House Black Prince Road London SE1 7SJ tel: 020 7463 2022 fax: 020 7463 2025 Mailto: kevin at pricetrak.com <mailto:kevin at pricetrak.com> URL: http://www.pricetrak.com */Registered in England No. 1728605/* ------------------------------------------------------------------------ All views or opinions expressed in this message are solely those of the author. Accordingly, Purchasing Index Ltd does not accept responsibility for the contents of the message unless specifically stated otherwise. If you have received this message in error, please notify the sender and delete the message immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080820/309cadaf/attachment-0005.html>
Kevin Thorpe wrote:> I was just wondering what recommendations you have on migrating a CentOS > 5 install between servers? > > I've done similar in the past by setting up a minimal install in the new > server, use tar to copy over the old install and reboot. I was thinking > of rsync this time. > > Is that an acceptable thing to do or have I missed something important?If they are identical at least in terms of disk controllers and size and you have space on the network to hold a compressed image copy, clonezilla-live is probably the easiest way to do it: http://www.clonezilla.org/clonezilla-live/ If the disk controllers or sizes are different, you'll have to at least generate a new initrd image. Doing a new install might be the easiest way, but when you copy the old system over you need to be sure that they are updated to the same kernel and keep the contents of your new /boot and a few other files (/etc/fstab, /etc/modprobe.conf, etc.). -- Les Mikesell lesmikesell at gmail.com
Les Mikesell wrote:> Kevin Thorpe wrote: >> I was just wondering what recommendations you have on migrating a >> CentOS 5 install between servers? >> >> I've done similar in the past by setting up a minimal install in the >> new server, use tar to copy over the old install and reboot. I was >> thinking of rsync this time. >> >> Is that an acceptable thing to do or have I missed something important? > > If they are identical at least in terms of disk controllers and size > and you have space on the network to hold a compressed image copy, > clonezilla-live is probably the easiest way to do it: > http://www.clonezilla.org/clonezilla-live/ > > If the disk controllers or sizes are different, you'll have to at > least generate a new initrd image. Doing a new install might be the > easiest way, but when you copy the old system over you need to be sure > that they are updated to the same kernel and keep the contents of your > new /boot and a few other files (/etc/fstab, /etc/modprobe.conf, etc.). >Same os, same release. I know about fstab and modprobe.conf (was modprobe.init) anyway, suck-it-and-see since the new server is currently surplus to requirements.