]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/new-test-bacula-dir.conf.in
update configure
[bacula/bacula] / regress / scripts / new-test-bacula-dir.conf.in
index af690361505d8895b7174fdab26d1a2281605f4f..534324cca395a4aefd7d4b983ad219a6daa599bd 100644 (file)
@@ -19,6 +19,7 @@ Director {                            # define myself
   WorkingDirectory = "@working_dir@"
   PidDirectory = "@piddir@"
   SubSysDirectory = "@subsysdir@"
+  PluginDirectory = "@sbindir@"
   Maximum Concurrent Jobs = 4
   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
   Messages = Standard
@@ -36,8 +37,12 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   SpoolData=yes
+  Max Run Time = 30min
+  Reschedule On Error = no
+  Reschedule Interval = 10
+  Reschedule Times = 1
 }
 
 Job {
@@ -49,6 +54,9 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  Maximum Concurrent Jobs = 10
+  SpoolData=yes
 }
 
 Job {
@@ -59,8 +67,10 @@ Job {
   Storage = File
   Messages = Standard
   Pool = Default
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  SpoolData=yes
 }
 
 
@@ -75,6 +85,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
 }
 
 
@@ -87,6 +98,9 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  SpoolData=yes
+  Maximum Concurrent Jobs = 10
 }
 
 Job {
@@ -97,8 +111,10 @@ Job {
   Storage = File
   Messages = Standard
   Pool = Default
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  SpoolData=yes
 }
 
 Job {
@@ -110,6 +126,37 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  SpoolData=yes
+  Maximum Concurrent Jobs = 10
+}
+
+Job {
+  Name = "LZOTest"
+  Type = Backup
+  Client=@hostname@-fd
+  FileSet="LZOSet"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Maximum Concurrent Jobs = 10
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  SpoolData=yes
+}
+
+Job {
+  Name = "SparseLZOTest"
+  Type = Backup
+  Client=@hostname@-fd
+  FileSet="SparseLZOSet"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Max Run Time = 30min
+  SpoolData=yes
+  Maximum Concurrent Jobs = 10
 }
 
 Job {
@@ -121,7 +168,8 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  ClientRunBeforeJob = "/bin/sleep 60"
+  ClientRunBeforeJob = "/bin/sleep 5"
+  Max Run Time = 30min
 }
 
 
@@ -141,6 +189,7 @@ Job {
   # This deletes the copy of the catalog
   RunAfterJob  = "@sbindir@/delete_catalog_backup"
   Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
+  Max Run Time = 30min
 }
 
 JobDefs {
@@ -150,6 +199,7 @@ JobDefs {
   Storage = File
   Messages = Standard
   Priority = 10
+  Max Run Time = 30min
 }
 
 Job {
@@ -157,7 +207,7 @@ Job {
   Name = "bug621-job-1"
   Client = @hostname@-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 60"
+  ClientRunBeforeJob = "/bin/sleep 5"
 }
 
 Job {
@@ -180,13 +230,16 @@ Job {
   Messages = Standard
   Pool = Default
   Where = @tmpdir@/bacula-restores
+  Max Run Time = 30min
 }
 
 
 # List of files to be backed up
 FileSet {
   Name = "Full Set"
-  Include {  Options { signature=MD5 }
+  Include {  
+     Options { signature=MD5; sparse=yes;
+       verify=pins5 }
      File =  <@tmpdir@/file-list
   }
 }
@@ -213,6 +266,17 @@ FileSet {
   }
 }
 
+FileSet {
+  Name = "LZOSet"
+  Include {
+    Options {
+      signature=MD5
+      compression=LZO
+    }
+    File = <@tmpdir@/file-list
+  }
+}
+
 FileSet {
   Name = "FIFOSet"
   Include {
@@ -237,6 +301,18 @@ FileSet {
   }
 }
 
+FileSet {
+  Name = "SparseLZOSet"
+  Include {
+    Options {
+      signature=MD5
+      compression=LZO
+      sparse=yes
+    }
+    File = <@tmpdir@/file-list
+  }
+}
+
 FileSet {
   Name = "MonsterFileSet"
   Include {
@@ -380,7 +456,7 @@ Client {
   File Retention = 30d                # 30 days
   Job Retention = 180d                # six months
   AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
 }
 
 # Definiton of file storage device
@@ -391,7 +467,7 @@ Storage {
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
   Device = FileStorage
   Media Type = File
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
 }
 
 Storage {
@@ -401,7 +477,7 @@ Storage {
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
   Device = FileStorage1
   Media Type = File1
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 10
 }
 
 
@@ -422,7 +498,7 @@ Storage {
 #  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
@@ -458,6 +534,7 @@ Messages {
 #          also keep all your messages if the scroll off the console.
 #
   append = "@working_dir@/log" = all, !skipped
+  catalog = all, !skipped
 }
 
 Messages {
@@ -470,6 +547,7 @@ Messages {
 #          also keep all your messages if the scroll off the console.
 #
   append = "@working_dir@/log" = all, !skipped
+  catalog = all, !skipped
 }
 
     
@@ -481,5 +559,7 @@ Pool {
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 365d             # one year
 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
+# Simple Label Format = "Backup-"
 # Maximum Volume Jobs = 1
+# Maximum Volume Bytes = 512000
 }