[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the best way to migrate a server to new hardware?



Aniruddha wrote:
> I wonder what the best way is to move a (non mission-critical) Debian
> server installation to a  new server. Rsync, clonezilla, tar, mondo,
> dpkg-selections? With Gentoo I used to tar root, unpack it on the new
> server, adjust config files and reinstall grub.I wonder what the
> proper way in Debian is. Thanks in advance!

There isn't one canonically correct answer.  There are many different
ways to do it and different people will have different favorite
methods.

I like booting the new machine with a live cdrom and then using rsync
to clone the old system onto the new system's disk over the network.
Then install grub and boot the new system.  If I want to set up disk
mirroring then I do that first by using the debian-installer to do the
work first so that it is ready to go and then do the rsync on top of
it.

At other times I will move the new disks onto the old system, mount
them and do the copy locally, then move them back into the new machine
and boot it.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: