#!/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 bin/drop_sqlite_tables bin/make_sqlite_tables bin/bacula start bin/console -c bin/console.conf <>test.out echo " " else echo " ===== Test1 Bacula source OK ===== " echo " ===== Test1 OK ===== " >>test.out fi rm -rf /tmp/bacula-restores