On Sun, 9 Dec 2007, Tom Meiner wrote:
> That works great. thank you
Good to hear.
Would someone add this to the FAQ?
> and sorry for the great delay
>
> Tom
>
> Alan Brown schrieb:
>> On Fri, 23 Nov 2007, Tom Meiner wrote:
>>
>>> Hi,
>>>
>>> I have an autochanger with 1 drive and 8 media. Every Friday all tapes
>>> are outhaused. So I need to make a "update slots" after replacing the
>>> tapes.
>>>
>>> How can I create a job schedule in the director to do this every friday
>>> afternoon?
>>
>> ========
>> /usr/local/bin/updateslots
>>
>> #!/bin/sh
>> echo 'update slots Storage=MSL6000-changer drive=0' \
>> | /usr/sbin/bconsole -c /etc/bacula/bconsole.conf
>> =========
>>
>> /etc/bacula/bacula-dir/conf
>>
>> ############## JOBS-CATALOG ####################################
>> # Update tape library slot inventory
>> Job {
>> Name = "UpdateSlots"
>> Type = Admin
>> JobDefs = "DefaultJob"
>> Level = Full
>> FileSet="None"
>> Schedule = "UpdateSlots"
>> RunBeforeJob = "/usr/local/bin/updateslots"
>> Write Bootstrap = "/var/bacula/bootstraps/UpdateSlots.bsr"
>> Spool Data = no
>> Pool = High-churnPool
>> }
>> ###########################################################
>>
>> ######################################################################
>> # This schedule is for changer synchronisation
>> Schedule {
>> Name = "UpdateSlots"
>> Run = Full daily at 12:30
>> Run = Full daily at 21:30
>> Run = Full daily at 17:00
>> }
>> ######################################################################
>>
>>
>> Adjust schedule to suit.
>>
>>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users