Amanda-Users

Re: Recovering tapeless amanda server

2004-07-13 13:58:18
Subject: Re: Recovering tapeless amanda server
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Ralph at yahoogroups <yahoogroups AT spampot DOT com>
Date: Tue, 13 Jul 2004 13:54:44 -0400 (EDT)
On Tue, 13 Jul 2004 at 7:43pm, Ralph at yahoogroups wrote

> We've just had a disk crash on our Amanda 2.4.3 server on RedHat 7.3
> Linux.  I had it configured to do tapeless backups onto a different
> fileserver (via chg-multi (I think) and the file tapetype.  However, I was
> shortsighted enough to backup the Amanda config files with Amanda herself.
>  So, now I am left with a load of "tape" files but don't know how to get
> at their contents.
> 
> Can someone, please, point me in the right direction?

docs/RESTORE will still cover this I believe.  Just treat the "tape" files 
as if they were tapes.  'dd if=tapefile of=header.out bs=32k count=1' will 
read the header of the first image in 'tapefile'...

Come to think of it, though, I don't know a priori how to get to the 
second image in one of those files (you could do it with counting blocks).  
Your easiest path is probably just to get amanda installed on the rebuilt 
server and use amrestore on those tape files.  amrestore doesn't need 
indices.

Good luck.

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

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