]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-sd-tape.conf.in
Use /dev/sg0 rather than /dev/sg1 so vtape devices work
[bacula/bacula] / regress / scripts / bacula-sd-tape.conf.in
index b794de4c2518455666ddc68ec76b8b07099a95a8..8846b92ef97c42e24440cb6796780403658eef83 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Default Bacula Storage Daemon Configuration file
 #
-#  For Bacula release 1.33
+#  For Bacula release 9.0.8
 #
 # You may need to change the name of your tape drive
 #   on the "Archive Device" directive in the Device
 
 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
 }
 
 #
@@ -33,14 +34,17 @@ Director {
 #
 
 Device {
-  Name = DDS-4                     # 
-  Media Type = DDS-4
+  Name = tape                     # 
+  Media Type = tape
   Archive Device = @tape_drive@
   AutomaticMount = yes;               # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options
+  Control Device = /dev/sg0
+  Alert Command = "@scriptdir@/tapealert %l"
 # Maximum File Size = 1000000
+# MaximumVolumeSize = 400M
 }
 
 # 
@@ -50,4 +54,16 @@ Device {
 Messages {
   Name = Standard
   director = @hostname@-dir = all, !terminate
+  append = "@working_dir@/log1.sd" = all
+}
+
+Cloud {
+  Name = DummyCloud
+  Driver = "File"
+  HostName = "@tmpdir@/cloud"
+  BucketName = "DummyBucket"
+  AccessKey = "DummyAccessKey"
+  SecretKey = "DummySecretKey"
+  Protocol = HTTPS
+  UriStyle = VirtualHost
 }