]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/tls-bacula-dir.conf.in
Fix bug #2346 Dir blocks when max reloads reached
[bacula/bacula] / regress / scripts / tls-bacula-dir.conf.in
index 451f8166e2d42909286b2a0d0d8a1395b43224b9..0642823065607d54f1254abf25ea12a603cb930b 100644 (file)
 #
 
 Director {                            # define myself
-  Name = @hostname@-dir
+  Name = localhost-dir
   DIRPort = @dirport@                # where we listen for UA connections
   QueryFile = "@scriptdir@/query.sql"
   WorkingDirectory = "@working_dir@"
   PidDirectory = "@piddir@"
   SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
   Messages = Standard
 }
@@ -30,25 +30,28 @@ Director {                            # define myself
 Job {
   Name = "NightlySave"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="Full Set"
   Storage = File
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   SpoolData=yes
 }
 
 Job {
   Name = "MonsterSave"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="Full Set"
   Storage = File1
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  Maximum Concurrent Jobs = 10
+  SpoolData=yes
 }
 
 
@@ -56,7 +59,7 @@ Job {
   Name = "VerifyVolume"
   Type = Verify
   Level = VolumeToCatalog
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="Full Set"
   Storage = File
   Messages = Standard
@@ -68,47 +71,55 @@ Job {
 Job {
   Name = "SparseTest"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="SparseSet"
   Storage = File
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  Maximum Concurrent Jobs = 10
+  SpoolData=yes
 }
 
 Job {
   Name = "CompressedTest"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="CompressedSet"
   Storage = File
   Messages = Standard
   Pool = Default
-  Maximum Concurrent Jobs = 4
+  Max Run Time = 30min
+  Maximum Concurrent Jobs = 10
+  SpoolData=yes
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
 }
 
 Job {
   Name = "SparseCompressedTest"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="SparseCompressedSet"
   Storage = File
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  Maximum Concurrent Jobs = 10
+  SpoolData=yes
 }
 
 Job {
   Name = "FIFOTest"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="FIFOSet"
   Storage = File
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  ClientRunBeforeJob = "/bin/sleep 60"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 
@@ -117,7 +128,7 @@ Job {
 Job {
   Name = "BackupCatalog"
   Type = Backup
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="Catalog"
 #  Schedule = "WeeklyCycleAfterBackup"
   Storage = File
@@ -142,15 +153,15 @@ JobDefs {
 Job {
   JobDefs = "BackupJob"
   Name = "bug621-job-1"
-  Client = @hostname@-fd
+  Client = localhost-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 60"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 Job {
   JobDefs = "BackupJob"
   Name = "bug621-job-2"
-  Client = @hostname@-fd
+  Client = localhost-fd
   FileSet = "Full Set"
   Max Run Time = 30
   Priority = 15
@@ -161,7 +172,7 @@ Job {
 Job {
   Name = "RestoreFiles"
   Type = Restore
-  Client=@hostname@-fd 
+  Client=localhost-fd 
   FileSet="Full Set"
   Storage = File
   Messages = Standard
@@ -256,15 +267,15 @@ FileSet {
 
 # Client (File Services) to backup
 Client {
-  Name = @hostname@-fd
-  Address = @hostname@
+  Name = localhost-fd
+  Address = localhost
   FDPort = @fdport@
   Catalog = MyCatalog
   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
   File Retention = 30d                # 30 days
   Job Retention = 180d                # six months
   AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   TLS Require = yes
   TLS Certificate = "@scriptdir@/tls-cert.pem"
   TLS Key = "@scriptdir@/tls-cert.pem"
@@ -274,12 +285,12 @@ Client {
 # Definiton of file storage device
 Storage {
   Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
+  Address = localhost                # N.B. Use a fully qualified name here
   SDPort = @sdport@
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
   Device = FileStorage
   Media Type = File
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   TLS Require = yes
   TLS Certificate = "@scriptdir@/tls-cert.pem"
   TLS Key = "@scriptdir@/tls-cert.pem"
@@ -288,12 +299,12 @@ Storage {
 
 Storage {
   Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
+  Address = localhost                # N.B. Use a fully qualified name here
   SDPort = @sdport@
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
   Device = FileStorage1
   Media Type = File1
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   TLS Require = yes
   TLS Certificate = "@scriptdir@/tls-cert.pem"
   TLS Key = "@scriptdir@/tls-cert.pem"
@@ -304,7 +315,7 @@ Storage {
 # Definition of DLT tape storage device
 #Storage {
 #  Name = DLTDrive
-#  Address = @hostname@                # N.B. Use a fully qualified name here
+#  Address = localhost                # N.B. Use a fully qualified name here
 #  SDPort = @sdport@
 #  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
 #  Device = "HP DLT 80"                # must be same as Device in Storage daemon
@@ -314,17 +325,17 @@ Storage {
 # Definition of DDS tape storage device
 #Storage {
 #  Name = SDT-10000
-#  Address = @hostname@                # N.B. Use a fully qualified name here
+#  Address = localhost                # N.B. Use a fully qualified name here
 #  SDPort = @sdport@
 #  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
 #  Device = SDT-10000                  # must be same as Device in Storage daemon
-#  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
+#  Media Type = tape                  # must be same as MediaType in Storage daemon
 #}
 
 # Definition of 8mm tape storage device
 #Storage {
 #  Name = "8mmDrive"
-#  Address = @hostname@                # N.B. Use a fully qualified name here
+#  Address = localhost                # N.B. Use a fully qualified name here
 #  SDPort = @sdport@
 #  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
 #  Device = "Exabyte 8mm"
@@ -335,7 +346,8 @@ Storage {
 # Generic catalog service
 Catalog {
   Name = MyCatalog
-  dbname = regress; user = regress; password = ""
+  @libdbi@
+  dbname = @db_name@; user = @db_user@; password = "@db_password@"
 }
 
 # Reasonable message delivery -- send most everything to email address
@@ -343,9 +355,9 @@ Catalog {
 Messages {
   Name = Standard
   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all
-  operator = @job_email@ = mount
+# operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
+# MailOnError = @job_email@ = all
+# operator = @job_email@ = mount
   console = all, !skipped, !terminate, !restored
 #
 # WARNING! the following will create a file that you must cycle from
@@ -353,6 +365,7 @@ Messages {
 #          also keep all your messages if the scroll off the console.
 #
   append = "@working_dir@/log" = all, !skipped
+  catalog = all, !skipped
 }
 
 Messages {
@@ -365,6 +378,7 @@ Messages {
 #          also keep all your messages if the scroll off the console.
 #
   append = "@working_dir@/log" = all, !skipped
+  catalog = all, !skipped
 }