]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-dir.conf.errors.in
ebl add 3 others errors
[bacula/bacula] / regress / scripts / bacula-dir.conf.errors.in
index bcf819fae9caca362758c6beafc7965c94e34069..5c7179539bb632b6baa026b29b7496eb9b551501 100644 (file)
@@ -22,6 +22,7 @@ Director {                            # define myself
   Maximum Concurrent Jobs = 4
   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
   Messages = Standard
+  fdconnecttimeout = 10
 }
 
 JobDefs {
@@ -29,7 +30,6 @@ JobDefs {
   Type = Backup
   Level = Incremental
   Client = @hostname@-fd 
-  FileSet = FS_TESTJOB
   Storage = File
   Messages = Standard
   Pool = Default
@@ -37,13 +37,6 @@ JobDefs {
   Maximum Concurrent Jobs = 16
 }
 
-FileSet {
- Name = FS_LOCAL_INC_ERROR
- Include {
-   File=</tmp/path/to/nowhere
- }
-}
-
 Job {
   Name = "LOCAL_INC_ERROR"
   JobDefs = DefaultJob
@@ -54,6 +47,13 @@ Job {
   ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
 }
 
+FileSet {
+ Name = FS_TEST
+ Include {
+   File=</tmp/file-list
+ }
+}
+
 FileSet {
  Name = FS_REMOTE_INC_ERROR
  Include {
@@ -73,6 +73,11 @@ Job {
 
 FileSet {
  Name = FS_LOCAL_INC_ERROR
+ Include { File=</tmp/path/to/nowhere }
+}
+
+FileSet {
+ Name = FS_LOCAL_EXCL_ERROR
  Include { File=</tmp/file-list }
  Exclude {
    File=</tmp/path/to/nowhere
@@ -107,6 +112,34 @@ Job {
   Run After Job = "/bin/echo RunAfterJob"
   ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
 }
+Job {
+  Name = "REMOTE_RUNSCRIPT_ERROR"
+  JobDefs = DefaultJob
+  FileSet = FS_TEST
+  RunBeforeJob = "/bin/echo RunBeforeJob"
+  ClientRunBeforeJob = "/bin/false"
+  Run After Job = "/bin/echo RunAfterJob"
+  ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
+}
+Job {
+  Name = "LOCAL_RUNSCRIPT_ERROR"
+  JobDefs = DefaultJob
+  FileSet = FS_TEST
+  RunBeforeJob = "/bin/false"
+  ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
+  Run After Job = "/bin/echo RunAfterJob"
+  ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
+}
+Job {
+  Name = "CLIENT_CONNECT_TIMEOUT"
+  JobDefs = DefaultJob
+  Client = @hostname@2-fd
+  FileSet = FS_TEST
+  RunBeforeJob = "/bin/echo RunBeforeJob"
+  ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
+  Run After Job = "/bin/echo RunAfterJob"
+  ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
+}
 
 # Client (File Services) to backup
 Client {
@@ -121,6 +154,19 @@ Client {
   Maximum Concurrent Jobs = 4
 }
 
+# Client (File Services) to backup
+Client {
+  Name = @hostname@2-fd
+  Address = @hostname@
+  FDPort = 7102
+  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
+}
+
 # Definiton of file storage device
 Storage {
   Name = File