On 8/22/11 2:04 PM, Alden Timme wrote:
Hi all,
I am using a tape library to do my Amanda backups, but I have run into one issue - restoring my
Amanda system in the case that my Amanda server goes down.
Even if I have my amanda.conf file, there is a lot of metadata I need to be able to run a
successful amrestore or amrecover. My questions are
(1) What files do I need exactly?
(2) How do I retrieve/recover all of those files from the tapes themselves?
For (1), I think I need at least
* $CONFIGDIR/$config/amanda.conf
* $CONFIGDIR/$config/tapelist
* $PREFIX/var/amanda/chg-robot-dev-sg4 (file that holds my current tape
changer's status)
* infofile
* indexdir
but for (2) I don't know how to recover all those files.
I have been able to do a little bit of the retrieval/recovery with amtape update, but that doesn't
get me everything I need to use amrestore/amrecover effectively.
I've looked around a lot in the forums/archives/how-tos but haven't found an answer for this
question - which I assume is a fairly common issue. Apologies if I simply haven't found the
documentation - in that case a link would be sufficient :)
This has actually been covered on the list in some detail before. There were postings on 9/23/2010
by myself, Gene Heskett, and Dustin Mitchell under the title "Re: not a nitpick, feature question".
There was also a posting on 1/3/2011 by Charles Curley titled "Backing Up Amanda Metadata". Both
sets of posts contained recommendations and scripts.
One of the places you can find list archives is here:
http://marc.info/?l=amanda-users&r=1&w=2
--
---------------
Chris Hoogendyk
-
O__ ---- Systems Administrator
c/ /'_ --- Biology& Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<[email protected]>
---------------
Erdös 4