Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well, I have a redhat 9 server. it has a separate hdd mounted as /backup where I always used to take the backup tar files. Now I am planning to upgrade it to CentOS 5.5 Easy job. except that I want to keep the hdd same way for backup. And ofcourse without loosing any of my existing data.
Means, the current hdd i want to again use with keeping the data because I have to restore the whole thing just from that HDD and again that will be used for the backup also like before...
so advice on adding a new HDD without loosing data. And opps, the current backup HDD is accessible through /backup and I want to keep that too... but it is not a symbolic link...
here is my current /etc/fstab
some things you will lose
there is such a GREAT difference from rh9 to CentOS 5.6 ( think win 98 to vista)
However I would use RHEL6.1 if the hardware will support it ( or ScientificLinux6.1)
I do not think that any program settings will move over , so reset everything .
/dev/fd0 is not auto mounted ( at lease in RHEL6 ) by the kernel ( deprecated )
- you can manually mount it .
As long as the backup drive is a labeled partition
cent or rhel6 will auto detect it and set it in mtab and fstab
sir,
the first thing is HW will support the contos5.5 that i'm sure (i mean the hw i have now)...
next is as i'm planning to make a fresh os installation, not upgrade, then i know i will loose everything in my say like windows, C drive. But as I used D as my backup drive where a crontab dumped various conf and data files in that D drive, now I just want to keep those data (as that is my only thing for restore) while re os installation (in windows, we can keep the D after even formatting the C and reloading the OS).
So the same way, i just need to keep the D drive (i mean the second HDD) intact with existing data as those are only dumped data... ideas??
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
First thing reinstallation != upgrade.
And yes the reinstallation will work just like the way it works with winduhs.
After you have have backed up all the files in the /home folders to a different drive also backup the /etc.
While reinstalling make sure that you are only formatting / partition. Do not format any other partition. This should do the trick.
guys, i think there is a little miss understanding...
firstly, i am now on rh9. planning to go to centos 5.5 or 5.6.
this is my mail, database, dns server.
Now i have taken backup of everything, including some config files in the /backup, which is a different harddrive. So at this point, things are fine... now when i will do the re install, infact a fresh install of new os, I either can remove the /backup hdd before installation... then after installation, i need the /backup again as it was..., with data and accessible through /backup.
or I can keep the hdd plugged and tell the installer to install... but i think it will format the /backup (as it happened earlier) or if i deselect to format, it will just skip it... thus it finally will not be there...
So i need a fresh installation, where the partitions will be changed due to some other reasons... and i need that /backup same old thing, with data and with same way to access...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.