3 # Run a simple backup of the Bacula build directory
8 rm -rf /tmp/TestVolume001 /tmp/bacula-restores
10 bin/drop_sqlite_tables
11 bin/make_sqlite_tables
15 echo " === Starting Backup Bacula Test ==="
20 bin/console -c bin/console.conf <<END_OF_DATA
45 diff -ur build /tmp/bacula-restores${cwd}/build
49 echo " ===== Backup Bacula Test failed!!! ===== "
50 echo " ===== Backup Bacula Test failed!!! ===== " >>test.out
53 echo " ===== Backup Bacula Test OK ===== "
54 echo " ===== Backup Bacula Test OK ===== " >>test.out
56 rm -rf /tmp/bacula-restores