Amanda-Users

Re: Using amrecover - strange happenings

2005-09-30 04:56:20
Subject: Re: Using amrecover - strange happenings
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Steve H <big_dog_steve AT yahoo DOT com>
Date: Fri, 30 Sep 2005 10:50:00 +0200
Steve H wrote:
One more item to note.  I attempted to use amrestore instead of amrecover, and
after specifying the command:

amrestore -p /dev/nst0 host.domain /home/public | restore -ivf  -

I got this error:
Input block size is 32
restore: Tape is not a dump tape
Error 32 (Broken pipe) offset 32768+32768, wrote 0
amrestore: pipe reader has quit in middle of file.

Any Ideas?  Why would it error with "tape is not a dump tape"?

You said you used tar to backup, than you should use tar to restore too.

amrestore -p ... ... | gnutar -tvf -

And once again.  Make sure you have a GOOD version of tar.
1.13.25 or 1.15.1.  Tar versions in between have known problems
with e.g. sparse files (AFAIK the created backup is fine, but you
run in trouble with restoring from the archive with a version other
than the above two.)


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