3 # Run a simple backup of the Bacula build directory using the compressed option
7 scripts/copy-test-confs
8 rm -rf /tmp/TestVolume001 /tmp/bacula-restores
9 echo "${cwd}/build" >/tmp/file-list
11 bin/drop_sqlite_tables
12 bin/make_sqlite_tables
14 bin/console -c bin/console.conf <<END_OF_DATA
20 run job=CompressedTest
37 diff -ur build /tmp/bacula-restores${cwd}/build
41 echo " ===== compressed-test Bacula source failed!!! ===== "
42 echo " ===== compressed-test failed!!! ===== " >>test.out
45 echo " ===== compressed-test Bacula source OK ===== "
46 echo " ===== compressed-test OK ===== " >>test.out
48 rm -rf /tmp/bacula-restores