Amanda-Users

Re: Verify backup

2005-12-12 10:06:18
Subject: Re: Verify backup
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: "Montagni, Giovanni" <gmontagni AT manord DOT com>
Date: Mon, 12 Dec 2005 16:00:28 +0100
Paul Bijnens wrote:
Montagni, Giovanni wrote:

I'm wondering if there's a command or a way to check if files backed up were written to tape cerrectly.

The amverify command, as explained in the docs, "determines if the tape is readable, but does not do any internal consistency check on the image."


But just before it says: "and pipes the output to a restore program (if available) with an option to create a catalogue of the backup.

For gnutar backups, it passes the image through "tar -t", producing a table of contents, which would trigger quiet a lot of internal errors
in the file.

Forgot to mention:  when using dump/restore, the catalogue is created
by restore, but because the dump format has all the "index-data" at the
beginning of a dumpimage, that is just a tiny check.  You would not be
reading a backup image to the end in that case. Gnutar has to read
through the whole dump image, but restore does not.

You get more confidence of the backup when using gnutar+amverify,
than using dump+amverify.

Ans last: try a restore on a different tape drive too:  long ago, when
I was using QIC tapes for backups, I had tapes that could be only read
by the drive that wrote it. Very bad, if you want to restore a backup because the computer+tapedrive got stolen.


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