Nicki Messerschmidt, Linksystem Muenchen GmbH wrote:
with amrecover -C finanzbuch -d chg-multi :
amidxtaped: debug 1 pid 18107 ruid 37 euid 37: start at Tue Jul 8
14:25:41 2003
amidxtaped: version 2.4.4p1
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.002: bsd security: remote host localhost user root
local user
operator
amidxtaped: time 0.002: amandahosts security check passed
amidxtaped: time 0.002: > CONFIG=finanzbuch
amidxtaped: time 0.002: > LABEL=finanzbuch_002
amidxtaped: time 0.002: > FSF=2
amidxtaped: time 0.002: > HEADER
amidxtaped: time 0.002: > DEVICE=chg-multi
amidxtaped: time 0.002: > HOST=^mammon$
amidxtaped: time 0.002: > DISK=^/$
amidxtaped: time 0.002: > DATESTAMP=20030708
amidxtaped: time 0.002: > END
amidxtaped: time 0.005: amrestore_nargs=0
amidxtaped: time 0.005: Ready to execv amrestore with:
Too fast here. It should have been looking for which slot
the tape is in.
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "chg-multi"
And if it found the slot, the arg here would have been "file:/..."
instead of "chg-multi".
Following the source code, I see that amrecover only asks the server
for the tapeslot if it has the amrecover_check_label feature set.
Add the directives to amanda.conf
amrecover_check_label yes
amrecover_do_fsf yes
and try again.
--
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 *
***********************************************************************
|