Amanda-Users

Re: Default restore device issues

2006-05-02 09:22:50
Subject: Re: Default restore device issues
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: stan <stanb AT panix DOT com>
Date: Tue, 02 May 2006 15:19:52 +0200
On 2006-05-02 14:12, stan wrote:
I'm trying to get amrecover to default to my changer.

I've added the following to my script that runs configure:

--with-tape-device=chg-multi \
--with-changer-device=chg-multi \

made distclean, id a make, and a make install. I'm working on the server
for the moment, so I rebooted it just to make certain that I had the
correct daemons running.

But, still....


amrecover> extract

Extracting files using tape drive /dev/nst0 on host amanda.meadwestvaco.com.
                                 ^^^^^^^^^^^^^^^^^^^^
The following tapes are needed: DailyDump21

This is runnig amrecover withut any options. On 2.5.0 PL1 if it atters.

Am I doing something wrong here?


Did you try the simple and documented parameter in amanda.conf:

  amrecover_changer  "changer"

No need at all to recompile and mess things up.


--
Paul Bijnens, xplanation Technology Services        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, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************