Amanda-Users

Re: Restoring without Amanda

2005-09-08 05:45:08
Subject: Re: Restoring without Amanda
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: tony AT vanderhoff DOT org
Date: Thu, 08 Sep 2005 11:37:55 +0200
Tony van der Hoff wrote:

I posted last week that my confusion had arisen out of the "skip=1", having
located the required archive. The need to rewind and skip 2 files in this
case could have been avoided at step 1 above. Now *that* would make a
difference.

Ah, there is the confusion!

The "skip=1" parameter of dd is not about skipping files, but skipping
blocks (of size bs=32k).
the "mt fsf 2" does the skipping of two files.

Each file on the amanda tapes is the (maybe compressed) tar/dump output
prepended with 32K bytes. The first 32 Kbytes contain the amanda
header for each file, describing the content.  To extract the bytes
for tar/dump, just drop the first 32Kbytes of the file.

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