Amanda-Users

Re: amrecover doesn't prompt for tape change?

2006-02-20 06:46:24
Subject: Re: amrecover doesn't prompt for tape change?
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Ross Vandegrift <ross AT jose.lug.udel DOT edu>
Date: Mon, 20 Feb 2006 12:42:09 +0100
On 2006-02-19 22:51, Ross Vandegrift wrote:

When I do a local restore on a backup server with amrecover, I get
prompted to change tapes when it is required:

Extracting files using tape drive /dev/null on host linuxbackup1.
Load tape DailySet102 now
Continue [?/Y/n/t]?"

I can then press "t" and set the tape correctly.


However, when I do a remote restore with amrecover, I get a different
prompt:

Load tape DailySet113 now
Continue? [Y/n]:
This is fine for a restore that requires a single tape, since I can
use settape and the extract a second time.  However, restores
requiring multiple tapes will always fails, since I can't change tapes
in the middle of the restore.

I've verified that the remote server is correctly configured in
.amandahosts for access.


The only difference I can see between the two installation is that the
backup server runs 2.4.5, while the remote server runs 2.4.2p2.  Was
this feature added in between these versions?

2.4.2p2 is (almost) prehistoric... So I'm not surprised that the amrecover in 2.4.2p2 is not that sofisticated.

And 2.5.0 changes it again (there is still a bug concerning the
requesting of tapes in 2.5.0 beta).

I did not try this now (I have to 2.4.2p2 anywere laying around
nymore), but how do you mean a multi-level restore (needing multiple
tapes, one for each level)?
So it seems that in 2.4.2p2 you cannot change the tapedevice once
started.
In that case, you have already set the tape device, and you just have
to physically insert the tape in that device before pressing "Y".
Or what is exactly the problem here?


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


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