argv[0] = "amrestore" argv[1] = "-p" argv[2] = "-h" argv[3] = "/dev/nst0" argv[4] = "^iulian$" argv[5] = "^/$" argv[6] = "20040317" amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: 0: reached end of information
Your tape was not rewound. Either, manually rewind the tape and (to speed up) optionally position manually with "mt fsf" to just before the image you need. Or better, add these parameters to amanda.conf:
amrecover_do_fsf on amrecover_check_label on
(available since 2.4.3 I believe), and then amanda does this for you.
The thing is, if I'm running:
[EMAIL PROTECTED] amanda]# amrestore /dev/nst0 ^iulian$ ^/$ 20040317
The dumpfile is restored corectly on the amanda-server machine.
Probably after you (accidently?) rewound the tape.
-- 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: [EMAIL PROTECTED] *********************************************************************** * 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 * ***********************************************************************