> # ---------------- > # Update Slots Job > # ---------------- > Job { > Name = UpdateSlots > Client = bacula-fd > Type = Admin > FileSet = Default > Schedule = UpdateSlots > Messages = Standard > Storage = LTO > Pool = Default > Priority = 5 > > RunScript { > RunsWhen = Before > RunsOnClient = no > Fail Job On Error = no > Command = "/usr/local/sbin/runbefore-updateslots.sh" > } > } > > # ----------- > # UpdateSlots > # ----------- > Schedule { > Name = UpdateSlots > Run = mon-sun at 22:50 > } > > > > File: /usr/local/sbin/runbefore-updateslots.sh > > --[snip]-- > #!/bin/bash > BC="/usr/sbin/bconsole" > CONF="/etc/bacula/bconsole.conf" > STORAGE="DLT-V4" > > $BC -c $CONF << EOF > update slots storage=$STORAGE > quit > EOF > --[snip]-- > > > Hope this helps >
Thanks a lot. This helps me. Although, I am not the OP. John ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users