Bacula-users

Re: [Bacula-users] Removing tape from library

2012-03-29 13:55:33
Subject: Re: [Bacula-users] Removing tape from library
From: John Drescher <drescherjm AT gmail DOT com>
To: Conrad Lawes <CLawes AT navtech DOT aero>
Date: Thu, 29 Mar 2012 13:54:07 -0400
On Thu, Mar 29, 2012 at 1:49 PM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
>> What I'm after is  a more hands-off approach.  A simple set-it and forget-it 
>> feature.  I need Bacula to "make these decisions" without any human 
>> intervention.
>>
>> If the last tape with Append status is  not available bacula should do the 
>> following:
>>
>> 1. Notify the backup admin
>> 2.  Then wait 2 hours for remedy
>> 3.  If the tape in question  is still not available after 2 hours, use the 
>> next available tape.
>>
>> This way my backup still continues even  if I neglect/forget  to change 
>> volume status to Full.
>
> You will most likely have to script this yourself since bacula does
> not support this feature. One way could be to intercept the mail
> commands, parse them and take action by sending out bconsole commands.
>

An easier option may be to have a cron job periodically parse the
bacula logs looking for mount requests. Then take action via scripted
bconsole commands.

John

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users