On Fri, 15 Jun 2007, John Drescher wrote: > The problem here is after manually switching tapes in the autochanger > someone must run the update slots command from bacula before any jobs are > run. This can be as simple as clicking on a button that feeds the command > into bconsole.
Or even more simple from a user point of view (no clicking needed) bacula-dir.conf =========== # 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 } # Update tape library slot inventory Job { Name = "UpdateSlots" Type = Admin JobDefs = "DefaultJob" Level = Full FileSet="None" Schedule = "UpdateSlots" # This creates an ASCII copy of the catalog RunBeforeJob = "/usr/local/bin/updateslots" Write Bootstrap = "/var/bacula/bootstraps/UpdateSlots.bsr" Spool Data = no Pool = High-churnPool } =========== /usr/local/bin/updateslots =========== #!/bin/sh echo 'update slots Storage=MSL6000-changer drive=0' \ | /usr/sbin/bconsole -c /etc/bacula/bconsole.conf =========== ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users