Hello,

I am implementing AMANDA at my current workplace (used it once before
and loved it) however I have a few strange circumstances and questions
regarding my options.  If anyone can help me with the below it would be
appreciated.

First off, for reasons beyond the scope of this email, my AMANDA server
has no tape device.  I am sending all backups to the holding disk.  We
also have a large IBM tape library running ADSM that I would like to
incorporate into my AMANDA backup strategy.  In my head, it will go
something like this:

1. AMANDA schedules and performs backups to holding disk.
2. Every night, after AMANDA has completed her backups, the dated
directory is moved over to our ADSM server.
3. The holding disk is wiped clean (space saving measure, ADSM will have
the files anyway). 
3. The ADSM server spools the directory to tape.
4. I write a wonderfully sexy amrestore-wrapper script that will take
three arguments:
        * machine name
        * files to be restored
        * date of file you want to extract
5. Wrapper script figures out which dump "directories" it needs to get
out of ADSM, gets them, and then runs the appropriate amrestore commands
to seemlessly restore said files.

I have a couple of "problems" (i.e. things I'm not sure about or are too
stupid to understand) however and they are as follows:

A) I need a way of asking AMANDA, "If I want foo file from 3/20/2000 on
machine bar, which dump 'directories' will I need?"  I have read and
re-read the man pages for amdump, amadmin, etc., but the answer is not
immediately obvious to me.  I understand AMANDA usually works with
tapes, but since even amrecover will look into holding disk dated
directories, surely there's a way to get this info from AMANDA (without
actually performing the restore, all I want is the dated directory names
so I can pull them out of ADSM and slap them back into the AMANDA
server's holding disk, so that amrestore/amrecover can get to them).

B) After writing the above, I'm not sure I remember what my second
problem was, or if it was relevent if (A) is solved.  Sorry.  I think it
had something to do with piping 'amrestore' output to tar not being
interactive as it could be with dump/restore.  In other words, I want
our tape monkies to be able to interactively restore files, but if I'm
using GNU tar all I can do is request specific files. Eh, but that's ok
I think...sorry...

Anyways, I know this is long and rambling.  I appreciate any help on the
above, or even different strategies if the one presented is on crack.

Thanks.
-- 
Greg Mohney
Technical Specialist, UNIX Administration
APAC Customer Services
(319) 896-5027

Reply via email to