3 # Run a simple backup of the Bacula build directory
9 bin/bacula stop 2>&1 >/dev/null
10 bin/drop_sqlite_tables
11 bin/make_sqlite_tables
15 echo " === Starting Backup Bacula Test ==="
16 echo " === Starting Backup Bacula Test ===" >>tmp/log
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