]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-sd-2tape.conf.in
ebl Add tests for bpipe on win32
[bacula/bacula] / regress / scripts / bacula-sd-2tape.conf.in
index 0bfc6326c2bc9b186bb60a2ee43a2f27118cfa95..07a50c4085b30c429339e6a103bc4c28284bad0a 100644 (file)
@@ -12,7 +12,7 @@
 
 Storage {                             # definition of myself
   Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
+  SDPort = @sdport@                  # Director's port      
   WorkingDirectory = "@working_dir@"
   Pid Directory = "@piddir@"
   Subsys Directory = "@subsysdir@"
@@ -31,14 +31,20 @@ Director {
 # To connect, the Director's bacula-dir.conf must have the
 #  same Name and MediaType. 
 #
+Autochanger {
+  Name = DDS-4
+  Changer Device = @autochanger@
+  Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d"
+  Device = Drive-0
+}
 
 Device {
-  Name = DDS-4                     # 
+  Name = Drive-0                   # 
   Media Type = DDS-4
-  Changer Device = @autochanger@
-  Changer Command ="@scriptdir@/mtx-changer %c %o %S %a"
   Archive Device = @tape_drive@
   AutomaticMount = yes;               # when device opened, read it
+  Autochanger = yes
+  Drive Index = 0
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options