[Bacula-users] Command on media change request from SD

2008-10-13 Thread Felix Brack
The storage daemon has some possibilities to run external commands such 
as 'Mount Command', 'Alert Command', etc. Is there an option that allows 
to run an external command when the storage daemon requires change of media?

Example:
I get the following message from the storage daemon asking to change the 
media.

13-Oct 14:08 lexington-dir JobId 109: Start Backup JobId 109, 
Job=Lexington_Dayly.2008-10-13_14.08.03
13-Oct 14:08 lexington-dir JobId 109: Using Device IOMEGA-REV-DISK
13-Oct 14:08 lexington-sd JobId 109: Please mount Volume TAG-4 or 
label a new one for:
 Job:  Lexington_Dayly.2008-10-13_14.08.03
 Storage:  IOMEGA-REV-DISK (/media/iomega-rev-disk)
 Pool: Day Pool
 Media type:   REV-120GB

When this message appears I would like to run an external command. Did I 
miss something in the documentation or is this not possible with bacula 
version 2.4.2?

Many thanks, Felix


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Command on media change request from SD

2008-10-13 Thread Adrian Moisey
Hi


 13-Oct 14:08 lexington-dir JobId 109: Start Backup JobId 109, 
 Job=Lexington_Dayly.2008-10-13_14.08.03
 13-Oct 14:08 lexington-dir JobId 109: Using Device IOMEGA-REV-DISK
 13-Oct 14:08 lexington-sd JobId 109: Please mount Volume TAG-4 or 
 label a new one for:
  Job:  Lexington_Dayly.2008-10-13_14.08.03
  Storage:  IOMEGA-REV-DISK (/media/iomega-rev-disk)
  Pool: Day Pool
  Media type:   REV-120GB
 
 When this message appears I would like to run an external command. Did I 
 miss something in the documentation or is this not possible with bacula 
 version 2.4.2?

I've also been looking for this.  I would like to do things like unmount 
and eject of my media when it asks for this

-- 
Adrian Moisey
Systems Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: [EMAIL PROTECTED]
Phone: +27 21 818 8621 | Mobile: +27 82 858 7830 | Fax: +27 21 818 8855

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users