#!/bin/sh # # Run a simple backup of the Bacula build directory # then restore it. # cwd=`pwd` scripts/copy-confs rm -rf /tmp/TestVolume001 /tmp/bacula-restores bin/bacula stop 2>&1 >/dev/null bin/drop_sqlite_tables bin/make_sqlite_tables echo " " echo " " echo " === Starting Backup Bacula Test ===" echo " " bin/bacula start bin/console -c bin/console.conf <>test.out echo " " else echo " ===== Backup Bacula Test OK ===== " echo " ===== Backup Bacula Test OK ===== " >>test.out fi rm -rf /tmp/bacula-restores