Amanda-Users

Re: amrestore fails

2004-03-17 12:38:32
Subject: Re: amrestore fails
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Iulian Topliceanu <iulian.topliceanu AT net-m DOT de>
Date: Wed, 17 Mar 2004 18:35:53 +0100
Iulian Topliceanu wrote:

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:

[root@amanda 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:  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          *
***********************************************************************


<Prev in Thread] Current Thread [Next in Thread>