3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Run a simple backup with encryption and no other options
9 # (i.e. no compression and no sparse handling) of the
10 # Bacula build directory.
12 TestName="data-encrypt-test"
17 scripts/copy-crypto-confs
18 echo "${cwd}/build" >${cwd}/tmp/file-list
20 change_jobname NightlySave $JobName
23 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
26 @$out ${cwd}/tmp/log1.out
27 label storage=File volume=TestVolume001
28 @#setdebug level=10 fd
35 @$out ${cwd}/tmp/log2.out
36 @#setdebug level=10 fd
37 restore where=${cwd}/tmp/bacula-restores storage=File
49 check_for_zombie_jobs storage=File
52 du -s build >${cwd}/tmp/log2.out
53 du -s ${cwd}/tmp/bacula-restores/ >${cwd}/tmp/log2.out