Amanda-Users

Re: crash recovery

2002-11-12 08:21:04
Subject: Re: crash recovery
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Gene Heskett <gene_heskett AT iolinc DOT net>
Date: Tue, 12 Nov 2002 07:42:49 -0500 (EST)
On Tue, 12 Nov 2002 at 1:19am, Gene Heskett wrote

> On Monday 11 November 2002 08:20, Joshua Baker-LePain wrote:
> >On Mon, 11 Nov 2002 at 4:36am, Gene Heskett wrote
> >
> >> Anyway, the advise on how to recover useing tar & gzip doesn't
> >> seem to want to work.  The only way to get dd to actually write
> >> a disk file is with dd if=/dev/nst0 bs=32k of=tape.contents.#
> >> where the # is a sequence # extension in /tmp.  And that only
> >> works if an 'mt tell' says its at block 64.
> >
> >Don't forget to skip over the amanda header:
> >
> >dd if=/dev/nst0 bs=32k skip=1 of=tape.file.1
> >
> In fact, that recomndation to skip=1 was exactly what was wrong 
> Joshua.  Removing that, then the tape doesn't have to be 
> repositioned after reading the header to see if its compressed or 
> not.  So the sequence I'm running at the moment is:

Sorry for the confusion -- that was exactly the scenario I was trying to 
address with the second set of commands I sent.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


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