Amanda-Users

Re: Make amanda unload tape drive?

2003-01-10 04:38:28
Subject: Re: Make amanda unload tape drive?
From: Sven Rudolph <rudsve AT drewag DOT de>
To: "Brandon D. Valentine" <bandix AT structbio.vanderbilt DOT edu>
Date: 10 Jan 2003 09:43:45 +0100
"Brandon D. Valentine" <bandix AT structbio.vanderbilt DOT edu> writes:

> On Thu, 9 Jan 2003, John Oliver wrote:
> 
> >Can amanda send a signal to my DLT IV to unload the tape after backups
> >are finished, so whoever goes back to swap tapes can just do it without
> >waiting to manually unload?
> 
> An excerpt from the Amanda user's crontab on my amanda server:
> 
> 45 0 * * 2-6 /usr/local/sbin/amdump Daily && /usr/bin/eject -q /dev/nst0 >& 
> /dev/null

For amdump this is easy.

I didn't find a way to do this for amflush.

You must start amflush in the forground in order to answer the
questions, and then it backgrounds itself. So you do not know when
amflush really ends.

        Sven