Amanda-Users

Re: amrestore/dump failing

2006-01-17 16:55:44
Subject: Re: amrestore/dump failing
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: David Gitman <dgitman AT trustedid DOT com>
Date: Tue, 17 Jan 2006 22:43:31 +0100
David Gitman wrote:

I'm receiving a "restore: Tape is not a dump tape" message when trying to
restore a amrestore file via restore. I'm running the amrestore or restore
command incorrectly?
$ amrestore /dev/rst0 host1
amrestore:   1: restoring host1._.20060116.1
amrestore:   3: restoring host1._.20060116.1
amrestore:   5: restoring host1._.20060116.1
amrestore:   7: restoring host1._.20060116.1
amrestore:   9: restoring host1._.20060116.1
.....
amrestore: 10501: restoring host1._.20060116.1
amrestore: 10503: skipping host2._.20060116.1
amrestore: 10504: reached end of tape: date 20060116

Was that tape created with the tape-spanning features of 2.5.0beta
with a ridiculously small tapesplit_size (or the default
fallback_splitsize of 10 Mbyte and you bypassing the holdingdisk)?

In that case you should use "amfetchdump" instead of amrestore.
(Actually, I haven't even tried that utility yet.  I tried recovering
a tape-chunked image with amrecover and that worked perfect.)

See: http://wiki.zmanda.com/index.php/Amfetchdump


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

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