]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-sd-2tape.conf.in
Make restart2-test work
[bacula/bacula] / regress / scripts / bacula-sd-2tape.conf.in
index 32327cc39b3a6ea67bb8a17b9657eabfe63efbf7..94f641a40b644438c29d3170660452d4af7661f9 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Default Bacula Storage Daemon Configuration file
 #
-#  For Bacula release 1.30 (12 April 2003) -- redhat 7.3
+#  For Bacula release 1.33
 #
 # You may need to change the name of your tape drive
 #   on the "Archive Device" directive in the Device
@@ -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 = tape
+  Changer Device = @autochanger@
+  Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d"
+  Device = Drive-0
+}
 
 Device {
-  Name = DDS-4                     # 
-  Media Type = DDS-4
-  Changer Device = @autochanger@
-  Changer Command ="@scriptdir@/mtx-changer %c %o %S %a"
+  Name = Drive-0                   # 
+  Media Type = tape
   Archive Device = @tape_drive@
   AutomaticMount = yes;               # when device opened, read it
+  Autochanger = yes
+  Drive Index = 0
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options