On 10/09/10, Kent Tenney (kten...@gmail.com) wrote: > What is the correct configuration to unmount (ideally eject) the tape > after all jobs run, and mount the next tape when it is inserted?
To unmount and eject the tape you need to use the "Run After Job" Director attribute. Check out http://www.bacula.org/en/dev-manual/main/main/Configuring_Director.html#7123 There is an example on this Server Fault page: http://serverfault.com/questions/7242/bacula-tape-changing I'm not sure how you could run a job/mount operation when a tape is inserted. To do this you would probably want to run a cronjob to see if there has been a tape status change (i.e. mt -f /dev/nst0 status returns something rather than nothing) and then trigger the job through shell scripting bconsole. -- Rory Campbell-Lange r...@campbell-lange.net ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users