Amanda-Users

Re: missing size line from sendbackup and PARTIAL

2008-01-10 04:49:40
Subject: Re: missing size line from sendbackup and PARTIAL
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Thu, 10 Jan 2008 10:40:06 +0100
On 2008-01-09 22:55, Jean-Francois Malouin wrote:
Hi,

Amanda-2.5.2p1 on both the server (Debian/Etch) and client (irix-6.5.x).

In a amreport this morning I got a DLE with:

FAILURE AND STRANGE DUMP SUMMARY:
  yorick  /data/nih/nih1  lev 0  FAILED [missing size line from sendbackup]
  yorick  /data/nih/nih1  lev 0  FAILED [missing size line from sendbackup]


The backup program (gnutar for this DLE) normally should have ended with
a last line indicating the total size of the backup.  However, Amanda did
not find that line.

But because that does not mean that you want be able to do at least something
with the partial backup, Amanda did not discard the whole backup image.
(Also because, when e.g. dumping to tape, Amanda will not rewind and overwrite
an invalid backup image -- too difficult and maybe some intelligent human
can still do "something" with the partial backup.)

But Amanda still marks it "FAILED", and will try next time to make a decent
backup.




DUMP SUMMARY: DUMPER STATS TAPER STATS
HOSTNAME DISK           L ORIG-MB  OUT-MB  COMP%  MMM:SS    KB/s MMM:SS KB/s
------------------------- ----------------------------------------------------
yorick   /data/nih/nih1 0     N/A   84080    --     N/A     N/A 22:33 63615.7
+PARTIAL

Checking what 'adadmin info' tells me for it:

amadmin left2 info yorick /data/nih/nih1

Current info for yorick /data/nih/nih1:
  Stats: dump rates (kps), Full:  21651.2, 23245.9, 22401.7
                    Incremental:   80.9,  97.4, 157.8
          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  20080102  av24-2_left2_U00041L3  34 973979040 973979040 44985
          1  20080107  av24-2_left2_U00040L3  6 97850 97850 1209

Note the date of the level 0!  That is not the date of this morning.
The level 0 from this morning is not considered a valid level 0 by Amanda.



Seems good but trying to restore the image to disk with amfetchdump
fails with:

amfetchdump -p left2 yorick /data/nih/nih1 20080108 | tar -xpGf -

So you try to restore the one from this morning...

...
amfetchdump: 34: restoring split dumpfile: date 20080108 host yorick
disk /data/nih/nih1 part 17/17 lev 0 comp N program /usr/freeware/bin/tar amfetchdump: Search of av24-2_left2_U00041L3 complete

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive

And, indeed, the backup image on this tape is a partial backup, that is
prematurely broken off.


tar: Error is not recoverable: exiting now


Any ideas?


Need to find out why it broke off.
Look on the client in the "sendbackup.DATETIME.debug" file


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