Re: Restoring from tape when Amanda server failed
2006-07-20 09:19:32
On Wed, 19 Jul 2006 at 2:07pm, gil naveh wrote
Thanks for all the help, but I have a problem to restore the files.
When I type:
root@ # dd if=/dev/rmt/0n ibs=64k | ufsrestore if -
Where did you get 64k from? Why aren't you following the directions
you've been pointed at multiple times?
Try this:
mt rewind
mt fsf 1 (this gets you past the amanda tape label)
dd if=/dev/rmt/0n of=restored.image bs=32k skip=1 (this will get you the
first backup image)
Then run 'file restored.image', which will tell you what type of file that
restore image is. Given your dumptype, the image will likely be gzipped.
So then you'd have to do:
zcat restored.image > restored.image.unzipped
Obviously, that's assuming your zcat understands gzipped files. You
should then be able to run ufsrestore on restored.image.unzipped.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
|
|
|