darkstar wrote:
I'm relatively new in UML....I have installed RH9 on my server... does anybody know how to change the distro to another (say Fedora) without wiping out all the existing data and configuration?
It all depends on how much you have setup, and where.
The very first thing you must do is make one big backup of everything, and an
Offsite location.
After doing this, you have two ways of going about switching distros.
The first is to create a partition, that will hold all the data while you are switching distros. This way that partition is never touched, and the data on it is safe.
The second is to simply make another backup of your files. Dump them to an offsite location. Install the new distro. Put back the files in the correct places via the second backup. (The second backup is DIFFERENT than the first, for obvious paranoid reasons.)
One big question that remains is which files need to be copied over. This greatly depends on what you have installed, and how much you plan to copy over.
If you have multiple users, then you may want to copy over
/etc/passwd*,
/etc/group* and
/etc/shadow*. Additionally you will want to make a backup of your /home dir.
If you use the unix standard mail spool, then you might want to copy
/var/spool/mail. If you run an HTTP server, then you want to look at your httpd.conf file to see which dirs are being used, and properly copy them over to. You must do this for all services you run.
big hassel huh?
What Unix people often do is have a seperate partition for user data and such. I personally stick *everything* in /home. This way, when I want to upgrade distributions as well, I can easily do so without worrying about losing data on /home.
So the next time you install a distro, keep everyhting in a few easy to manage places so that when you need to change distros, the chance of data loss will be minimal.
Bill Clinton