tests/bsr-opt-test
tests/compressed-test
tests/concurrent-jobs-test
+tests/data-encrypt-test
tests/differential-test
tests/four-concurrent-jobs-test
tests/four-jobs-test
# Set this to "" to disable OpenSSL support, "--with-openssl=yes"
# to enable it, or provide the path to the OpenSSL installation,
# eg "--with-openssl=/usr/local"
-OPENSSL=""
+OPENSSL="--with-openssl"
# file or directory names in the Include directive of the
# FileSet resource.
#
-# For Bacula release 1.33
+# For Bacula release 1.39 or later
#
# You might also want to change the default email address
# from root to your address. See the "mail" and "operator"
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
Include {
Options {
signature=MD5 compression=GZIP
+ sparse=yes
}
File = </tmp/file-list
}
--- /dev/null
+#!/bin/sh
+#
+# Run a simple backup (with encryption) of the Bacula build directory
+# then verify the signatures.
+#
+TestName="data-encrypt-test"
+JobName=Crypto
+. scripts/functions
+set_debug 1
+
+scripts/cleanup
+scripts/copy-crypto-confs
+echo "${cwd}/build" >/tmp/file-list
+
+start_test
+
+cat <<END_OF_DATA >tmp/bconcmds
+@$out /dev/null
+messages
+@$out tmp/log1.out
+@#setdebug level=100 dir
+label storage=File volume=TestVolume001
+run job=$JobName yes
+wait
+messages
+@#
+@# now do a restore
+@#
+@$out tmp/log2.out
+restore where=${cwd}/tmp/bacula-restores storage=File
+5
+mark *
+done
+yes
+wait
+messages
+@$out
+quit
+END_OF_DATA
+
+run_bacula
+sleep 2
+check_for_zombie_jobs storage=File
+stop_bacula
+
+check_two_logs
+check_restore_diff
+end_test
+++ /dev/null
-#!/bin/sh
-#
-# Run a simple backup (with encryption) of the Bacula build directory
-# then verify the signatures.
-#
-TestName="filed-crypto-test"
-JobName=Crypto
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-crypto-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-setdebug level=1 storage=File sd
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@#
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File
-5
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-sleep 2
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test