Migration Installation

Hi all!

I wish to extract a full system tar image over an installed minimal image but retain network and device settings.

Having just done it, the destination server booted up and ran all the services ok, but I have overwritten some stuff which is messing up my network information (NIC, IP address, Hostname etc.) and some of my device stuff (like my CD drive which no longer appears in /dev).

I’m going to have another go in the morning and wondered which folders I should exclude from my tar extract to carry these parts of the minimal system over?

So far I am excluding

/proc
/dev
/boot
/etc/sysconfig/kernel

I suspect I will also have to skip

/etc/modprobe.d
/etc/sysconfig

Can anyone give me any pointers to save me rediscovering the wheel tomorrow? lol!

I’m using OpenSuse 10.2.

Thanks for any help

John

Hi,

These ones wouldn’t be needed either:

/sys
/tmp

Also, consider /srv. It you are not running internet services like apache, ftp, etc you can also ignore it.

Regards.

Yeah but it is an Apache and MySQL server. :slight_smile:

I seem to have it working now, the only way I could get it going was to create a new minimal install, back up

/etc/sysconfig
/etc/modprobe.d
/boot

and restore over the top. Then restoring these folders and rebooting gets the machine to an almost workable state, but I’ll deal with these issues separately.

Thanks for the response anyhow.

John