]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/new-test-bacula-dir.conf.in
Extend idea of Prefer Mounted Volumes to mean a volume about
[bacula/bacula] / regress / scripts / new-test-bacula-dir.conf.in
index 81e520fc23a00a0aa9398b7b3fc99ba09f4efbc2..ff30852bd8987bd7b5e693ccc83608ecbd0263eb 100644 (file)
@@ -40,20 +40,6 @@ Job {
   SpoolData=yes
 }
 
-Job {
-  Name = "Crypto"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseCompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData=yes
-}
-
-
 Job {
   Name = "MonsterSave"
   Type = Backup
@@ -113,6 +99,19 @@ Job {
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
 }
 
+Job {
+  Name = "FIFOTest"
+  Type = Backup
+  Client=@hostname@-fd 
+  FileSet="FIFOSet"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  ClientRunBeforeJob = "/bin/sleep 60"
+}
+
+
 
 # Backup the catalog database (after the nightly save)
 Job {
@@ -125,12 +124,39 @@ Job {
   Messages = Standard
   Pool = Default
   # This creates an ASCII copy of the catalog
-  RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
+  RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
   # This deletes the copy of the catalog
   RunAfterJob  = "@sbindir@/delete_catalog_backup"
   Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
 }
 
+JobDefs {
+  Name = "BackupJob"
+  Type = Backup
+  Pool = Default
+  Storage = File
+  Messages = Standard
+  Priority = 10
+}
+
+Job {
+  JobDefs = "BackupJob"
+  Name = "bug621-job-1"
+  Client = @hostname@-fd
+  FileSet="Full Set"
+  ClientRunBeforeJob = "/bin/sleep 60"
+}
+
+Job {
+  JobDefs = "BackupJob"
+  Name = "bug621-job-2"
+  Client = @hostname@-fd
+  FileSet = "Full Set"
+  Max Run Time = 30
+  Priority = 15
+}
+
+
 # Standard Restore template, to be changed by Console program
 Job {
   Name = "RestoreFiles"
@@ -156,7 +182,8 @@ FileSet {
   Name = "SparseSet"
   Include {
     Options {
-      signature=MD5 sparse=yes
+      signature=MD5
+      sparse=yes
     }
     File = </tmp/file-list
   }
@@ -166,17 +193,31 @@ FileSet {
   Name = "CompressedSet"
   Include {
     Options {
-      signature=MD5 compression=GZIP 
+      signature=MD5 
+      compression=GZIP 
+    }
+    File = </tmp/file-list
+  }
+}
+
+FileSet {
+  Name = "FIFOSet"
+  Include {
+    Options {
+      readfifo = yes
+      signature=MD5 
     }
     File = </tmp/file-list
   }
 }
 
+
 FileSet {
   Name = "SparseCompressedSet"
   Include {
     Options {
-      signature=MD5 compression=GZIP
+      signature=MD5 
+      compression=GZIP
       sparse=yes
     }
     File = </tmp/file-list
@@ -191,15 +232,15 @@ FileSet {
 #  and incremental backups other days
 Schedule {
   Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
+  Run = Level=Full 1st sun at 1:05
+  Run = Level=Differential 2nd-5th sun at 1:05
+  Run = Level=Incremental mon-sat at 1:05
 }
 
 # This schedule does the catalog. It starts after the WeeklyCycle
 Schedule {
   Name = "WeeklyCycleAfterBackup"
-  Run = Full sun-sat at 1:10
+  Run = Level=Full sun-sat at 1:10
 }
 
 # This is the backup of the catalog
@@ -282,7 +323,7 @@ Storage {
 # Generic catalog service
 Catalog {
   Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
+  dbname = regress; user = regress; password = ""
 }
 
 # Reasonable message delivery -- send most everything to email address