On Mon, Apr 28, 2003 at 11:16:19AM -0400, Jon LaBadie wrote:
> 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?
This command should always list the next n tapes to use, the first line
give the next one.
Jean-Louis
--
Jean-Louis Martineau email: martineau AT IRO.UMontreal DOT CA
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7 Fax: (514) 343-5834
|