Amanda-Users

Re: Make amanda unload tape drive?

2003-01-10 07:09:58
Subject: Re: Make amanda unload tape drive?
From: Pavel Rabel <pavel AT xal.co DOT uk>
To: Sven Rudolph <rudsve AT drewag DOT de>
Date: Fri, 10 Jan 2003 11:14:55 +0000
> > >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?
 
> 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.

You may try to run amflush with the -f switch.

>From amflush manpage:
With the -f option, amflush stays in the foreground.  This is useful
if amflush is run as part of another script that, for example, advances
the tape after the flush is completed.

-- 
Pavel