Re: restore Unix system
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 09/29/04
- Previous message: Rav: "restore Unix system"
- In reply to: Rav: "restore Unix system"
- Next in thread: Mike Delaney: "Re: restore Unix system"
- Reply: Mike Delaney: "Re: restore Unix system"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Sep 2004 23:01:26 GMT
In comp.unix.solaris Rav <ravcs@hotmail.com> wrote:
> Hi all
> We are using amanda to backup on of our unix systems which recently
> had it's system disk failed...:-(
> I am trying to restore the data from tape drive using ufsrestore.....
> I have booted from cdrom in a single user mode and can see the tape.
> I have partitoned the disk as it was on the old disk and have run
> newfs on all slices......
> I cannot make out what session is what part of the disk, as I need to
> restore /, /opt, /usr, /home etc....is there any detailed
> documentation on restoring without amanda....pls help..
> have tried the following:
> mt rew
> mt fsf 1
> dd if=/dev/rmt/0 bs=32k count=1
Why the dd if you're trying to ufsrestore?
Now that you've newfsed, mount the root slice.
# mount /dev/dsk/c0t0d0s0 /a
# cd /a
# ufsrestore rf /dev/rmt/0cbn
(wait for restore)
At this point you can examine the old /etc/vfstab (which you should keep
a copy of elsewhere to aid in "by hand" restores) to see which slices
had what other filesystems. Unless Amanda has given it to you, you'll
need to figure out which other filesystems are where on the tape. You
can use 'ufsrestore -i' and then give the "what" command to see which
filesystem is there. When you know, rewind to that file and do the
restore...
# mount /dev/dsk/c0t0d0s5 /a/usr (only an example)
# cd /a/usr
# ufsrestore rf /dev/rmt/0cbn
-- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
- Previous message: Rav: "restore Unix system"
- In reply to: Rav: "restore Unix system"
- Next in thread: Mike Delaney: "Re: restore Unix system"
- Reply: Mike Delaney: "Re: restore Unix system"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|