Here is the device part of my bacula-sd.conf: Device { Name = Quantum # Changer Device = tape0 Media Type = DLT-V4 Device Type = Tape Archive Device = Tape0 AutomaticMount = yes # when device opened, read it AlwaysOpen = yes RemovableMedia = yes RandomAccess = no AutoChanger = no Alert Command = "tapeinfo -f %c | findstr TapeAlert" }
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. So this wasn't my idea, but to me it makes sense to do this after a job has finished. Andreas > -----Original Message----- > From: Erich Prinz [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 2:58 PM > To: Andreas Lüdtke > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] tapeinfo under windows > > > If I'm not mistaken, tapeinfo is a utility app to assist in setting > up the system/tape drive -- it's not meant to be used IN production. > > What information are you needing to pull from the drive during > production? > > Erich > > On Jan 11, 2007, at 1:57 AM, Andreas Lüdtke wrote: > > > Hi Erich, > > > > as I wrote in my last mail, I CAN run the tapeinfo.exe and get > > results when I stop the > > Bacula Storage Service. > > > > The problem I still have is, that I get an error message in > the job > > log. So my question > > is: do I have to stop the Bacula Storage Service in order to get > > the tapeinfo.exe working > > WHILE a backup is job is executed? > > > > I'm just concerned about the fact to stop a Bacula Service > in order > > to run a backup job > > completely (with tape alert check)! > > > > Andreas > > > >> -----Original Message----- > >> From: Erich Prinz [mailto:[EMAIL PROTECTED] > >> Sent: Wednesday, January 10, 2007 7:38 PM > >> To: Andreas Lüdtke > >> Cc: bacula-users@lists.sourceforge.net > >> Subject: Re: [Bacula-users] tapeinfo under windows > >> > >> I'm new to the world of Bacula + Tapes so some of this is new and > >> fresh for me. > >> > >> Kill any process that might be accessing the drive - this means > >> bacula-sd, bacula-dir, and any OTHER backup software that may be > >> running as a service (eg Backup Exec, NT Backup, etc..) wanting to > >> connect to the drive. That will clear up the permissions > problem for > >> you. > >> > >> Then attempt access to the drive. > >> > >> I had no luck with Bacula writing to the DAT-72 on the unit I was > >> working on, but the DLT you have should work. > >> > >> Erich > >> > >> > >> On Jan 10, 2007, at 12:07 PM, Andreas Lüdtke wrote: > >> > >>> Thanks Erich, > >>> > >>> my windows 2003 SBS doesn't show a tab page named "Tape Symbolic > >>> Name" for the DLT drive. > >>> Nevertheless, I could run the tapeinfo program in a dos box while > >>> the Bacula Storage > >>> Service was stopped: > >>> > >>> D:\Programme\Bacula\bin>tapeinfo -f tape0 > >>> Product Type: Tape Drive > >>> Vendor ID: 'QUANTUM ' > >>> Product ID: 'DLT-V4 ' > >>> ... > >>> > >>> But when I run a job I get still this message: > >>> > >>> 10-Jan 18:40 pthh-fs-sd: Alert: cannot open SCSI device 'tape0' - > >>> Permission denied > >>> 10-Jan 18:40 pthh-fs-sd: 3997 Bad alert command: tapeinfo -f tape0 > >>> | findstr TapeAlert: > >>> ERR=Unknown error. > >>> > >>> Do I have to stop the Bacula Storage Service before the > >>> tapeinfo.exe can work? Obviously I > >>> have to restart the service after tapeinfo.exe was executed. > >>> If this is true, the documentation should be updated and the setup > >>> should reflect this > >>> when the default config files are created. > >>> > >>> Does the stopping/starting of the Bacula Storage Service inside of > >>> a running job has any > >>> other impact I do not see in the moment? > >>> > >>> Any help is much appreciated > >>> > >>> Andreas > >>> > >>>> -----Original Message----- > >>>> From: Erich Prinz [mailto:[EMAIL PROTECTED] > >>>> Sent: Wednesday, January 10, 2007 3:10 PM > >>>> To: Andreas Lüdtke > >>>> Cc: bacula-users@lists.sourceforge.net > >>>> Subject: Re: [Bacula-users] tapeinfo under windows > >>>> > >>>> Substitute DeviceName for the name the OS gives the drive. > >>>> > >>>> On a Windows box you'll find it here: > >>>> > >>>> Computer Manager > Device Manager > Tape Drives > [your branded > >>>> model] > Properties >Tape Symbolic Name (this is where > you'll find > >>>> what the OS calls it) > >>>> > >>>> and TapeInfo will work just fine for you. > >>>> > >>>> Erich > >>>> > >>>> On Jan 10, 2007, at 3:19 AM, Andreas Lüdtke wrote: > >>>> > >>>>> Hi, > >>>>> > >>>>> I'm trying to configure the tape alert (Alert Command) > for my DLT > >>>>> drive under Windows 2003 > >>>>> Server. I ran the following command on the command line: > >>>>> > >>>>> tapeinfo -f DeviceName > >>>>> > >>>>> the result is always: > >>>>> > >>>>> cannot open SCSI device 'DeviceName' - No such > file or directory > >>>>> > >>>>> I read in the archive (may 2006) that Robert Nelson has > ported the > >>>>> mtx package to windows. > >>>>> So I assume that this program "should" work under windows, > >>>> but what > >>>>> is the correct > >>>>> DeviceName to use it under windows? > >>>>> > >>>>> Thanks > >>>>> > >>>>> Andreas > >>>>> > >>>>> > >>>>> > >>>> -------------------------------------------------------------- > >>>> -------- > >>>>> --- > >>>>> 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 > >>>>> > >>>> > >>> > >>> > >>> > >> -------------------------------------------------------------- > >> -------- > >>> --- > >>> 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 > >>> > >> > > > > > > > -------------------------------------------------------------- > -------- > > --- > > 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 > > > ------------------------------------------------------------------------- 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