Hi Robert, I'm setting up v 2.0.2 on a Win 2003 box and needing to use Alexander Kuehn's script written in the Tips section.
What I'm needing help on is to: 1. validate the path info along with variables is correct AND 2. how to add the virtual database for the slots as shown below in Alexander's example shown here to the mtx-changer.cmd file. Device { Name=DDS3 Archive Device = # use yours not mine! ;)/dev/nsa0 Changer Device = # not really required/dev/nsa0 Changer Command = "# use this (maybe change the path)! /usr/local/bin/mtx-changer %o %a %S" Maximum Changer Wait = 3d # 3 days in seconds AutomaticMount = yes; # mount on start AlwaysOpen = yes; # keep device locked Media Type = DDS3 # it's just a name RemovableMedia = yes; # Offline On Unmount = Yes; # keep this too Label media = Yes; # } As the script has to emulate the complete wisdom of a mtx-changer it has an internal "database" containing where which tape is stored, you can see this on the following line: labels="VOL-0001 VOL-0002 VOL-0003 VOL-0004 VOL-0005 VOL-0006 VOL-0007 VOL-0008 VOL-0009 VOL-0010 VOL-0011 VOL-0012" ------------------------------------------------------------------------ ----- I have modified the Device config to this: # Device { Name = DDS-4 # Media Type = DDS-4 Changer Command = "C:\\Program Files\\Bacula\\bin" %o %a %s Maximum Changer Wait = 12h Device Type = Tape Archive Device = Tape0 AutomaticMount = yes # when device opened, read it AlwaysOpen = yes RemovableMedia = yes Offline On Unmount = yes RandomAccess = no Label media = yes # Alert Command = "tapeinfo -f %c | findstr TapeAlert" } Thanks, Erich ------------------------------------------------------------------------- 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