3 # Run a simple backup of the Bacula build directory
8 rm -rf /tmp/TestVolume001 /tmp/bacula-restores
9 bin/bacula stop 2>&1 >/dev/null
10 bin/drop_sqlite_tables
11 bin/make_sqlite_tables
15 echo " === Starting Backup Bacula Test ==="
19 bin/console -c bin/console.conf <<END_OF_DATA
44 diff -ur build /tmp/bacula-restores${cwd}/build
48 echo " ===== Backup Bacula Test failed!!! ===== "
49 echo " ===== Backup Bacula Test failed!!! ===== " >>test.out
52 echo " ===== Backup Bacula Test OK ===== "
53 echo " ===== Backup Bacula Test OK ===== " >>test.out
55 rm -rf /tmp/bacula-restores