3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Run a simple backup of the Bacula build directory with TLS
9 # communications code enabled then restore it.
16 scripts/copy-tls-confs
17 echo "${cwd}/build" >${cwd}/tmp/file-list
19 change_jobname CompressedTest $JobName
22 cat <<END_OF_DATA >tmp/bconcmds
28 label storage=File volume=TestVolume001 pool=Default
29 run job=$JobName storage=File yes
36 restore where=${cwd}/tmp/bacula-restores select storage=File
47 check_for_zombie_jobs storage=File