upgrade/recovery question

From: George Gallen <ggallen_at_slackinc.com>
Date: Tue, 26 Sep 2000 11:53:28 -0400

This may seem quite basic, however, it's something I have not done before
so....
I didn't see anything in the archives that directly fit my question...

We want to do an OS upgrade, actually, since the from and to will be
generations
apart, just upgrading won't work. I will need to do a fresh install and then
retweak
the system (luckily on our end, we don't have many services to setup).

That's not the problem. The question is what happens if all does not go well
and
we need to go back to our old rev. The last time I did this, I also replaced
all the
drives, so we pulled the old drives, put in the new ones and loaded the OS
and
tweaked the system, then restored the data. If there was a problem , all we
needed to do was swap back in all the old drives and power back up.

I don't have that luxury this time. So First we will be backing up the data
to
tape, as well as each filesystem to it's own tape for the data.

Basically, we can't have the system down for very long (over a weekend would
be fine), but If after the installation, I can't get things up 95%, I will
need to
revert to the old rev, until we can try again.

How do I backup the "system" and load it back in if I need to reset the
system
like before?

I'm assuming that I'd need to boot from the old CD, go into single user mode
then use restore to put the data back into "/" and "/usr", then reboot

To save my "/" and "/usr" partitions to tape (UFS)

Boot to single user mode: (boot -fl s)

dump 0f /dev/rmt0a /
dump 0f /dev/rmt0a /usr

Or am I better off using dd?

To Restore my "/" and "/usr" partitions from tape (UFS again)

At the >> prompt, I'd enter 'boot -fl s rz6c'

This is where I'm at a loss. Do I mount "/" and "/usr" then
use restore to overwrite itself?


Thanks
George

George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen_at_slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
Received on Tue Sep 26 2000 - 15:54:29 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT