3 # Run a simple backup of the Bacula build directory using the compressed option
7 TestName="restore-by-file-test"
12 scripts/copy-test-confs
13 echo "${cwd}/tmp/build" >/tmp/file-list
14 mkdir ${cwd}/tmp/build
15 cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
19 sed s%\^%${cwd}/tmp/build/% 1 >restore-list
23 change_jobname CompressedTest $JobName
26 cat <<END_OF_DATA >tmp/bconcmds
30 label storage=File volume=TestVolume001
38 restore where=${cwd}/tmp/bacula-restores storage=File
40 <${cwd}/tmp/restore-list
50 check_for_zombie_jobs storage=File
54 check_restore_tmp_build_diff