Hi,

25.10.2007 21:35,, jay wrote::
> Hello,
> 
> I've got a general question.  We have a tape library, its only 23 
> slots.  Eventually, tapes will begin to fill up during the course of 
> backups.  My question is, what is the best way in Bacula to manage 
> ejecting tapes in the library and labeling new ones?  Say at the end of 
> the week, we have 3 tapes that are full.  How can I automate ejecting 
> these into the magazine?  Do I just need to set something up in cron 
> that checks the database for FULL media and ejects those?

That would be one approach... but it's a bit inflexible once you want 
to unload all media containing the most current data, for example, or 
want to keep your incremental pool volumes in the library and only 
unload full backup pool media. (Just two examples...)

I've got a perl script supporting this sort of issues. It often needs 
some adaption to your site, but might be worth a try.

As I don't think the code quality is of the level I like in the Bacula 
project, I haven't published it in the svn, but I could send you a copy.

This script works well with perl 5, it requires some modules you can 
install via CPAN or your distribution repositories, and it's designed 
and tested on linux only. If you want to give it a try, send me a 
reminder.

>  Then manually 
> label them myself?  It doesn't look like there is a facility in Bacula 
> to automate that, aside from custom scripts.  Just curious to know what 
> others are doing for this type of situation. Thanks for any comments!

There are many ways to handle this sort of thing... I've seen tape 
operators with their notebooks in front of the library, I have seen 
web interfaces for these things (bweb being a really good one, btw) 
and I have seen fully automated scripts... I guess this sort of 
question can best be answered if you analyze how your tape operators 
like to work.

Arno

> Jay
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to