3 # Run a simple backup of the Bacula build directory using the compressed option
7 TestName="restore-by-file-test"
14 scripts/copy-test-confs
15 echo "${cwd}/tmp/build" >/tmp/file-list
16 mkdir ${cwd}/tmp/build
17 cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
21 sed s%\^%${cwd}/tmp/build/% 1 >restore-list
25 change_jobname CompressedTest $JobName
28 cat <<END_OF_DATA >tmp/bconcmds
32 label storage=File volume=TestVolume001
40 restore where=${cwd}/tmp/bacula-restores storage=File
42 <${cwd}/tmp/restore-list
52 check_for_zombie_jobs storage=File
56 check_restore_tmp_build_diff