Now that "update slots" doesn't pull tapes out of the drives, it's an 
ideal candidate for automation...

Here's what I have defined. Does anyone have a better way of running this?

Job {
   Name = "UpdateSlots"
   Type = Admin
   JobDefs = "DefaultJob"
   Level = Full
   FileSet="None"
   Schedule = "UpdateSlots"
   RunBeforeJob = "/bin/echo update slots Storage=MSL6000-changer drive=0 | 
/usr/bin/bconsole -c /etc/bacula/bconsole.conf"
   Write Bootstrap = "/var/bacula/bootstraps/UpdateSlots.bsr"
   Spool Data = no
   Pool = High-churnPool
}

Schedule {
   Name = "UpdateSlots"
   Run = Full daily at 12:30
   Run = Full daily at 21:30
   Run = Full daily at 17:00
}

FileSet {
   Name = "None"
   Include {
     Options {
       aclsupport=yes
       sparse = yes
       noatime=yes
       signature = SHA1
       onefs = yes
     }
   }
}

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to