If the command was issued before the mount command, which in turn triggers the Autochanger change script, that would not be a problem. Either there would be no change to the slots, or the newly inserted tapes would be identified as being on the changer.
When bacula can't find a tape in the changer (slot=0) with sends an email (once an hour?) requesting manual intervention. I was hopping it could be done via a script called before the email bacula sends this email.
I believe it was just a matter of trying a last resort update before requesting manual assistance.
I thought of the crontab solution as well, but I'm afraid it can cause some unexpected disruption. But I might try it if can't find a cleaner way of doing it.
Miguel
On Mon, Jan 16, 2012 at 7:12 PM, John Drescher <drescherjm AT gmail DOT com> wrote:
How would bacula know you changed the tape in the archive unless you
told it to update slots? I guess you can run a job that issues an
update slots every 5 minutes but that would be wasteful and could get
you into trouble if the autochanger was initializing.
John
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|