]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-sd-vtape.conf.in
Big backport from Enterprise
[bacula/bacula] / regress / scripts / bacula-sd-vtape.conf.in
index 5e62ba65e4774accac29638f437ee5d46f78b3fb..9e6cb79635c76236fc905e881d53fc88fe987575 100644 (file)
@@ -37,6 +37,7 @@ Device {
   Name = LTO3_0
   Media Type = LTO3
   Archive Device = @working_dir@/ach/drive0
+  Control Device = @working_dir@/ach/sg0
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 0
@@ -47,24 +48,25 @@ Device {
   Maximum Volume Size = 30M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
 }
 
 Device {
   Name = LTO3_1
   Media Type = LTO3
   Archive Device = @working_dir@/ach/drive1
+  Control Device = @working_dir@/ach/sg1
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 1
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options
-  Maximum File Size = 7M
-  Maximum Volume Size = 30M
+  Maximum File Size = 8M
+  Maximum Volume Size = 50M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
 }
 
 
@@ -72,6 +74,7 @@ Device {
   Name = LTO3_2
   Media Type = LTO3
   Archive Device = @working_dir@/ach/drive2
+  Control Device = @working_dir@/ach/sg2
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 2
@@ -79,11 +82,11 @@ Device {
   RemovableMedia = yes;
   @@sbindir@/tape_options
   Auto Select = no
-  Maximum File Size = 7M
-  Maximum Volume Size = 30M
+  Maximum File Size = 8M
+  Maximum Volume Size = 50M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
 }
 
 
@@ -91,17 +94,18 @@ Device {
   Name = LTO1_3
   Media Type = LTO1
   Archive Device = @working_dir@/ach/drive3
+  Control Device = @working_dir@/ach/sg3
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 3
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options
-  Maximum File Size = 7M
-  Maximum Volume Size = 30M
+  Maximum File Size = 8M
+  Maximum Volume Size = 50M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
 }
 
 
@@ -109,6 +113,7 @@ Device {
   Name = LTO1_4
   Media Type = LTO1
   Archive Device = @working_dir@/ach/drive4
+  Control Device = @working_dir@/ach/sg4
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 4
@@ -119,13 +124,14 @@ Device {
   Maximum Volume Size = 30M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
 }
 
 Device {
   Name = LTO1_5
   Media Type = LTO1
   Archive Device = @working_dir@/ach/drive5
+  Control Device = @working_dir@/ach/sg5
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 5
@@ -136,7 +142,7 @@ Device {
   Maximum Volume Size = 30M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
   Auto Select = no
 }
 
@@ -144,6 +150,7 @@ Device {
   Name = LTO1-ANSI_6
   Media Type = LTO1-ANSI
   Archive Device = @working_dir@/ach/drive6
+  Control Device = @working_dir@/ach/sg6
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
   Drive Index = 6
@@ -154,10 +161,20 @@ Device {
   Maximum Volume Size = 30M
   Maximum Job Spool Size = 10M
   Spool Directory =  @working_dir@
-  Device Type = Tape
+  Device Type = VTape
   Label Type = ansi
 }
 
+Device {
+  Name = FileStorage
+  Device Type = File
+  Media Type = FileMedia
+  Archive Device = @tmpdir@
+  AutomaticMount = yes;               # when device opened, read it
+  AlwaysOpen = yes;
+  RemovableMedia = yes;
+# Maximum File Size = 1000000
+}
 
 # 
 # Send all messages to the Director, 
@@ -167,3 +184,15 @@ Messages {
   Name = Standard
   director = @hostname@-dir = all, !terminate
 }
+
+Cloud {
+  Name = DummyCloud
+  Driver = "File"
+  HostName = "@tmpdir@/cloud"
+  BucketName = "DummyBucket"
+  AccessKey = "DummyAccessKey"
+  SecretKey = "DummySecretKey"
+  Protocol = HTTPS
+  UriStyle = VirtualHost
+}
+