Re: tape request via email
2003-04-28 11:19:07
On Mon, Apr 28, 2003 at 10:59:48AM -0400, Jean-Louis Martineau wrote:
> On Mon, Apr 28, 2003 at 12:46:11PM +0400, vlad f halilow wrote:
> > hello, i change the request() function in chg-manual for requesting tape
> > via
> > our monitoring system. but one thing: in the amanda dump report, i look the
> > string for the next tape to be inserted (awaiting tape). which variable or
> > file contain string for the next tape? so tape request note looks like
> > following:
> >
> > 'insert new tape'
> > 'insert tapename10' etc...
> >
> >
> > how i can made this?
>
> You can use the output of 'amadmin <conf> tape'
The output of this command prints the following for my configuration:
$ amadmin DS1 tape
The next Amanda run should go onto tape DS1-05 or a new tape.
The next Amanda run should go onto tape DS1-06 or a new tape.
Currently no amdump/amflush is running, so this is what tapes are
required for the next run. If my 'runtapes' setting was 5 instead
of 2 I presume there would be 5 lines of output.
Would the output during an amdump run be different so one could tell
which tape is the next one needed?
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|
|
|