. scripts/functions
set_debug 0
-cwd=`pwd`
-scripts/copy-crypto-confs
scripts/cleanup
+scripts/copy-crypto-confs
echo "${cwd}/build" >/tmp/file-list
-change_jobname $JobName
+change_jobname NightlySave $JobName
start_test
cat <<END_OF_DATA >tmp/bconcmds
@$out tmp/log1.out
setdebug level=1 storage=File sd
label storage=File volume=TestVolume001
-run job=NightlySave yes
+run job=$JobName yes
wait
messages
@#
restore where=${cwd}/tmp/bacula-restores storage=File
5
mark *
-
+done
yes
wait
messages