Martin wrote:
Paul Bijnens wrote:
One important point is that you need to REWIND the tape before starting
amrestore, or you need to MANUALLY position the tape to the beginning
of your backup image using commands like 'mt ... fsf 123'.
If using amanda 2.4.4 or later you may add "-f 123" to rewind and
skip forward automatically (using the correct number...)
I've been trying to do a manual restore as well, just in case an
amrecover/amrestore is not possible. Paul, you say that it is possible to
skip over backup images by using the fsf parameter. That's true, but is
there any way of determining WHERE a particular image is stored on tape? I
did a few dd grabs, but the images I get back don't really match any
definable order (disklist, email-output). Is there a way to (quickly) tell
what order the images are in?
$ amadmin daily find the.host /the/dir
date host disk lv tape or file file status
2003-12-09 the.host /the/dir 1 DAILY-18 40 OK
...
The options "-f fileno" and "-l label" were added as a convenience
for amrecover. Jumping to the correct file with fsf is much faster on
some drives than reading and discarding the unwanted files.
But you may use them manually too.
If you lost the amanda database, then "amadmin find" will not work
of course. That's why I also print out a postscript label for each
tape that has the filenumber on it too.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|