]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-sd-2disk.conf.in
update configure
[bacula/bacula] / regress / scripts / bacula-sd-2disk.conf.in
index c784ab806df3c0d9be0348a3fb12b991a70b96d3..7f8f33e9fb1b896aa65db3739dda1d2d367b4154 100644 (file)
@@ -32,7 +32,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 +41,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,8 +54,8 @@ Device {
 Device {
   Name = Drive-1                   # 
   Device Type = File
-  Media Type = DDS-4
-  Archive Device = @disk_drive@/drive0
+  Media Type = tape
+  Archive Device = @disk_drive@/drive1
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 1
@@ -76,7 +76,7 @@ Device {
   Name = Virtual-1
   Device Type = File
   Media Type = Disk
-  Archive Device = @disk_drive@/drive0
+  Archive Device = @tmpdir@
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 0
@@ -89,7 +89,7 @@ Device {
   Name = Virtual-2
   Device Type = File
   Media Type = Disk
-  Archive Device = @disk_drive@/drive0
+  Archive Device = @tmpdir@
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 1
@@ -98,6 +98,18 @@ Device {
 # Maximum File Size = 1000000
 }
 
+Device {
+  Name = FileStorage
+  mediatype = FileMedia
+  Archive Device = @tmpdir@
+  LabelMedia = yes;                   # lets Bacula label unlabeled media
+  Random Access = Yes;
+  AutomaticMount = yes;               # when device opened, read it
+  RemovableMedia = no;
+  AlwaysOpen = no;
+}
+
+
 # 
 # Send all messages to the Director, 
 # mount messages also are sent to the email address