> > Beside the change of the Name and the insertion of the "Changer Device" 
> > line, this is
> > pretty much the device description that was made by the setup. As far as I 
> > understand
the
> > documentation, the tapeinfo.exe queries the status of the drive and if 
> > there are
> > "TapeAlerts" Bacula will probably inform me.
> 
> I cannot say exactly what happens on Win32, but yes, that is exactly what 
> happens on Linux/Unix.
> 
> > So this wasn't my idea, but to me it makes sense to do this after a job has 
> > finished.
> 
> Bacula submits the Alert command each time a Job terminates, if I am not 
> mistaken.  The documentation should probably clarify that.  
> Any tape alerts that are found are printed in the Job output.  This is not 
> something 
> essential, but can be an early warning of tape/drive problems.

To come to a final solution, should I remove the "Alert Command = "tapeinfo -f 
%c |
findstr TapeAlert"" from bacula-sd.conf and run the tapeinfo.exe from the 
"RunAfterJob"?

There, I could put a script file where the Bacula Storage Service is stopped, 
then the
tapeinfo.exe is executed and then the Bacula Storage Service is started again.

I think this should be possible, but I also think this would make the config 
files (more)
incompatible between Unix and Windows.

Is there someone out there who is using the tapeinfo.exe under Windows? Or 
should I post
this question in the devel list?


-------------------------------------------------------------------------
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