Amanda-Users

Re: how to automate tape changing

2004-10-21 08:44:28
Subject: Re: how to automate tape changing
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Sven Rudolph <rudsve AT drewag DOT de>
Date: Thu, 21 Oct 2004 14:40:50 +0200
Sven Rudolph wrote:

Jukka Salmi <j+amanda AT 2004.salmi DOT ch> writes:

Is it possible to automate the process of loading the needed tapes?

Yes. I'm using the following tape device setup to do this:

amrecover_changer "/dev/nrtape"
amrecover_do_fsf yes
amrecover_check_label yes

It's amrecover_changer that does the trick; essentially it tells amrecover to use the tape changer or the tape device is set to /dev/nrtape.


I'm using this now too; works fine.

After each automatically loaded tape amrecover still prompts to
continue. Is this expected behaviour?

Unfortunately yes.  I had a look in the sources, and currently
there is not (yet?) a way for the server to indicate that the
tape is found already, and that the client question to "proceed? [Y/n]"
can be skipped.  And it's not added with a few lines of code either.


--
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          *
***********************************************************************