]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-sd-2disk-drive.conf.in
update configure
[bacula/bacula] / regress / scripts / bacula-sd-2disk-drive.conf.in
index 6f6accee45b684a6558d42dc5d3979d83146d949..2d32e1822d96cc90a00ed67e5f4e6e4884f29a31 100644 (file)
 
 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@"
+  Maximum Concurrent Jobs = 100
 }
 
 #
@@ -32,7 +33,7 @@ Director {
 #  same Name and MediaType. 
 #
 Autochanger {
-  Name = DDS-4
+  Name = tape
   Changer Device = @disk_drive@/conf
   Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
   Device = Drive-0, Drive-1
@@ -41,7 +42,7 @@ Autochanger {
 Device {
   Name = Drive-0
   Device Type = File
-  Media Type = DDS-4
+  Media Type = tape
   Archive Device = @disk_drive@/drive0
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
@@ -54,7 +55,7 @@ Device {
 Device {
   Name = Drive-1
   Device Type = File
-  Media Type = DDS-4
+  Media Type = tape
   Archive Device = @disk_drive@/drive1
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
@@ -64,6 +65,42 @@ Device {
 # Maximum File Size = 1000000
 }
 
+Autochanger {
+  Name = Virtual
+  Changer Device = /dev/null
+  Changer Command =""
+  Device = vDrive-1, vDrive-2
+}
+
+Device {
+  Name = vDrive-1
+  Device Type = File
+  Media Type = Disk
+  Archive Device = @tmpdir@
+  AutomaticMount = yes;               # when device opened, read it
+  Autochanger = yes
+  Drive Index = 0
+  AlwaysOpen = yes;
+  RemovableMedia = yes;
+  Maximum Concurrent Jobs = 3
+  Volume Poll Interval = 15
+# Maximum File Size = 1000000
+}
+
+Device {
+  Name = vDrive-2
+  Device Type = File
+  Media Type = Disk
+  Archive Device = @tmpdir@
+  AutomaticMount = yes;               # when device opened, read it
+  Autochanger = yes
+  Drive Index = 1
+  AlwaysOpen = yes;
+  RemovableMedia = yes;
+  Maximum Concurrent Jobs = 3
+  Volume Poll Interval = 15
+# Maximum File Size = 1000000
+}
 
 # 
 # Send all messages to the Director,