Amanda-Users

Re: "Incremental tape too low" when using amrestore

2004-04-21 06:16:39
Subject: Re: "Incremental tape too low" when using amrestore
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Hans van Zijst <hzi AT syncera DOT nl>
Date: Wed, 21 Apr 2004 12:12:12 +0200
Hans van Zijst wrote:

I tried a bare metal recovery yesterday, but without the success I had hoped for. I restored the latest level 0 dump and then tried to restore the incremental dump over it. First step worked like a charm, but as soon as I restored the incremental tape, I got the error:

"restore: Incremental tape too low"

Amdump uses "dump" to make dumps, so I use "restore" to put them back. Here's what I did. First, I checked which tapes I needed:

amadmin Dagelijks info xxxxxxx /

"Dagelijks" is my daily set, incremental. Amanda gave me the following list:

-----
Current info for xxxxxxx.xxxxxxx.xx /:
  Stats: dump rates (kps), Full:  7283.0, 2961.0,  -1.0
                    Incremental:  2635.0, 2577.0, 2358.0
          compressed size, Full: -100.0%,-100.0%,-100.0%
                    Incremental: -100.0%,-100.0%,-100.0%
  Dumps: lev datestmp  tape             file   origK   compK secs
          0  20040416  Dagtape-04         22 1318285 2636570  362
          1  20040421  Dagtape-02         19   67215  134430   51
-----

(I replayed yesterday's scenario today, so the dates are rather recent)

You didn't mention the version of amanda on the server.
It used to be (pre-2.4.3 I believe, not sure) that "info" listed
all incremental levels, even those that were older than the level
minus one.
So it could have listed:

>   Dumps: lev datestmp  tape             file   origK   compK secs
>           0  20040416  Dagtape-04         22 1318285 2636570  362
>           1  20040415  Dagtape-02         19   67215  134430   51

Notice the datestmp on the level 1.  That level 1 is not needed
for restores, but older amanda versions did list them.
20040416 was last friday, and if you had the problem in the weekend,
the incremental backup from the weekend did not succeed, and the old
amanda version would have listed the not-useful tape from the previous
incremental.

Did you get the same message with the replayed scenario?  Or are the
error messages from the real restore on monday only?

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