Amanda-Users

Re: amadmin extension

2005-09-28 20:05:38
Subject: Re: amadmin extension
From: "John R. Jackson" <jrj AT purdue DOT edu>
To: "Scott R. Burns" <Scott.Burns AT Netcontech DOT Com>
Date: Wed, 28 Sep 2005 18:59:36 -0500
>... Would this be a handy feature to have in "amadmin" maybe
>something like: "amadmin CONFIG chgtapes" or "amadmin CONFIG changer tapes",
>to allow for other changer commands from amadmin ?  ...

Someone beat you to it :-).  As of 2.4.5 you can add "--days NNN" after
"tape" to get multiple days of data.  Note that the output format is
somewhat different:

$ amadmin RCAC0 tape
The next Amanda run should go onto tape P02003/RCAC0 or a new tape.
                                   tape P02004/RCAC0 or a new tape.
$ amadmin RCAC0 tape --days 3
The next Amanda run should go onto tape P02003/RCAC0 or a new tape.
                                   tape P02004/RCAC0 or a new tape.
The next Amanda run should go onto tape P02005/RCAC0 or a new tape.
                                   tape P02006/RCAC0 or a new tape.
The next Amanda run should go onto tape P02007/RCAC0 or a new tape.
                                   tape P02008/RCAC0 or a new tape.

>Scott...

John R. Jackson, Senior Systems Analyst, Engineering Solutions, Inc

<Prev in Thread] Current Thread [Next in Thread>