]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-dir-tape.conf.in
Add new maxruntime test -- not yet working
[bacula/bacula] / regress / scripts / bacula-dir-tape.conf.in
index 3eca3aca5bfb4b5c6c1b09959301cc3214f47a18..1c47adde25c5bb3f47890417fce1b5d1f82a564e 100644 (file)
@@ -18,9 +18,10 @@ Director {                            # define myself
   QueryFile = "@scriptdir@/query.sql"
   WorkingDirectory = "@working_dir@"
   PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
   Messages = Daemon
+  FD Connect Timeout = 2min 
 }
 
 #
@@ -29,30 +30,31 @@ Director {                            # define myself
 Job {
   Name = "NightlySave"
   Type = Backup
-  Client=@hostname@-fd 
+  Client = @hostname@-fd 
   FileSet="Full Set"
   Storage = DDS-4
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
   SpoolData = yes
 # Prefer Mounted Volumes = no
 }
 
+
 Job {
   Name = "NightlySave1"
   Type = Backup
-  Client=@hostname@-fd 
+  Client = @hostname@-fd 
   FileSet="Full Set"
   Storage = DDS-4
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
   SpoolData = yes
 # Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 120"
+  Client Run Before Job = "/bin/sleep 10"
 }
 
 Job {
@@ -64,7 +66,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
   SpoolData = yes
 # Prefer Mounted Volumes = no
 }
@@ -79,7 +81,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
   SpoolData = yes
 # Prefer Mounted Volumes = no
 }
@@ -93,7 +95,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
   SpoolData = yes
 # Prefer Mounted Volumes = no
 }
@@ -155,7 +157,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 = 100
 }
 
 # Definition of DDS tape storage device
@@ -166,7 +168,7 @@ Storage {
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
   Device = DDS-4                      # must be same as Device in Storage daemon
   Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
 # Autochanger = yes
 }
 
@@ -179,7 +181,7 @@ Storage {
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
   Device = FileStorage                # must be same as Device in Storage daemon
   Media Type = FileMedia              # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
 }
 
 # Definition of Virtual storage device
@@ -190,7 +192,7 @@ Storage {
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
   Device = Virtual                    # must be same as Device in Storage daemon
   Media Type = Disk                   # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
+  Maximum Concurrent Jobs = 100
 }
 
 
@@ -199,7 +201,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
@@ -217,6 +220,7 @@ Messages {
 #          also keep all your messages if the scroll off the console.
 #
   append = "@working_dir@/log" = all, !skipped
+  catalog = all, !skipped
 }
 
 #
@@ -227,6 +231,7 @@ Messages {
 # mail = @job_email@ = all, !skipped            
   console = all, !skipped, !saved
   append = "@working_dir@/log" = all, !skipped
+  catalog = all, !skipped
 }
 
     
@@ -237,6 +242,7 @@ Pool {
   Recycle = yes                       # Bacula can automatically recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 365d             # one year
+  RecyclePool=Scratch                 # test forward reference
 }
 
 Pool {
@@ -263,3 +269,22 @@ Pool {
   Volume Retention = 365d             # one year
   Recycle Pool = Scratch              # recycle back here
 }
+
+Pool {
+  Name = Special
+  Pool Type = Backup
+  Recycle = yes                       # Bacula can automatically recycle Volumes
+  AutoPrune = yes                     # Prune expired volumes
+  Volume Retention = 365d             # one year
+  ScratchPool = SpecialScratch
+  Maximum Volume Jobs = 1
+}
+
+Pool {
+  Name = SpecialScratch
+  Pool Type = Backup
+  Recycle = yes                       # Bacula can automatically recycle Volumes
+  AutoPrune = yes                     # Prune expired volumes
+  Volume Retention = 365d             # one year
+  Recycle Pool = SpecialScratch       # recycle back here
+}