RE: Help - recovering without amanda
2003-12-01 17:21:37
> docs/RESTORE is pretty clear, IMHO. Have a look at that, and
> then let us
> know *exactly* what you don't understand. As a short intro,
> you use 'mt'
> to position the tape, 'dd' to grab the raw image off the tape, and
> restore/'tar x' to extract the contents of the image.
docs/RESTORE says the same thing as the chapter, basically.
when I run:
# mt rewind
# mt fsf 1
# dd if=/dev/rmt/0hn bs=32k count=1
I get:
AMANDA: FILE 20031127 spork.unterlaw.com /u05/oracle/admin/testua lev 0
comp N program /usr/local/bin/tar
To restore position tape at start of file and run:
dd if=<tape> bs=32k skip=1 | /usr/local/bin/tar -f... -
1+0 records in
1+0 records out
GREAT...this is one of the two things I would like to restore.
Fantastic.
So it appears as if this is the first thing on the tape...so I cd
/u05/oracle/admin and run
# mt rewind
# mt fsf 1
# dd if=/dev/rmt/0hn bs=1 skip=1 | /usr/local/bin/tar -xf -
107+0 records in
107+0 records out
Great...now what? And now if I try to run that dd command again, it
says:
read: not enough space
read: not enough space
0+0 records in
0+0 records out
What 107 records is is talking about the first time?? The tape never
appeared to be active after I ran my dd command the first time, so what
did it do with the mysterious 107 records.
The doc is clear on what commands to run, but I ran them, and nothing
seems to have happened.
|
|
|