On Wed, 17 Jul 2002, Brashers, Bart -- MFG, Inc. wrote:
> > 1) Set runtapes to two and use chg-manual. Not optimal, as
> > I don't think you can run amdump out of CRON as it needs you
> > to tell it when you've put in the next tape.
>
> A big drawback. :(
Well, I found commented out code in chg-manual that sends a mail every
hour telling me to change tape. I change tape and the backup proceeds.
Voila, you can run amdump from cron and still use chg-manual.
/usr/local/libexec/chg-manual:
...
# that a tape be mounted. Here is an alternate versions of request()
# that does things more asynchronous:
#
request() {
# Send E-mail about the mount request and wait for the drive
# to go ready by checking the status once a minute. Repeat
# the E-mail once an hour in case it gets lost.
...
--
Ulrik Sandberg