3 # Run a simple backup with encryption and no other options
4 # (i.e. no compression and no sparse handling) of the
5 # Bacula build directory.
7 TestName="data-encrypt-test"
12 scripts/copy-crypto-confs
13 echo "${cwd}/build" >${cwd}/tmp/file-list
15 change_jobname NightlySave $JobName
18 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
21 @$out ${cwd}/tmp/log1.out
22 label storage=File volume=TestVolume001
23 @#setdebug level=10 fd
30 @$out ${cwd}/tmp/log2.out
31 @#setdebug level=10 fd
32 restore where=${cwd}/tmp/bacula-restores storage=File
44 check_for_zombie_jobs storage=File
48 du -s ${cwd}/tmp/bacula-restores/