Thanks Brian - much appreciated.
E
On Feb 8, 2007, at 8:47 AM, Brian Debelius wrote:
> Erich Prinz wrote:
>> (sorry for the dupe - used the wrong email account and the dist list
>> bounced it back)
>>
>> 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
>>
>>
> Hi Erich,
>
> Change your changer command to this.
>
> Changer Command = "\"C:\\Program Files\\Bacula\\bin\\\"mtx-changer %
> c %o
> %S %a %d"
>
>
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users