I have this quick hack of a script that I had tossed into cron to do the
same:
/etc/bacula/bconsole < /etc/bacula/label.txt

cat /etc/bacula/label.txt 
update slots
label barcode pool=Scratch
yes
mount slot=1
quit

                                        -Jason

On Fri, 2007-11-23 at 18:45 +0100, 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?
> 
> Tom
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 
----------------------------------------------------------------------------
Jason A. Kates ([EMAIL PROTECTED]) 
Fax:    208-975-1514
Phone:  212-400-1670 x2
============================================================================



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to