Maximum Concurrent Jobs = 4
Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
Messages = Standard
+ fdconnecttimeout = 10
}
JobDefs {
ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
}
+FileSet {
+ Name = FS_TEST
+ Include {
+ File=</tmp/file-list
+ }
+}
+
FileSet {
Name = FS_REMOTE_INC_ERROR
Include {
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 {
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
run job=REMOTE_EXCL_ERROR yes
wait
messages
+@$out tmp/REMOTE_RUNSCRIPT_ERROR.log
+run job=REMOTE_RUNSCRIPT_ERROR yes
+wait
+messages
+@$out tmp/LOCAL_RUNSCRIPT_ERROR.log
+run job=LOCAL_RUNSCRIPT_ERROR yes
+wait
+messages
+@$out tmp/CLIENT_CONNECT_TIMEOUT.log
+run job=CLIENT_CONNECT_TIMEOUT yes
+wait
+messages
st dir
quit
END_OF_DATA
run_bacula
touch tmp/log1.out
check_for_zombie_jobs storage=File
-stop_bacula
+#stop_bacula
dstat=0
bstat=0
export rstat
-end_test
+#end_test