3 # Run a simple backup of the Bacula build directory
4 # then verify the catalog.
7 scripts/copy-test-confs
8 rm -rf /tmp/TestVolume001 /tmp/bacula-restores
10 bin/bacula stop 2>&1 >/dev/null
11 bin/drop_sqlite_tables
12 bin/make_sqlite_tables
16 echo " === Starting verify Volume Test ==="
20 bin/console -c bin/console.conf <<END_OF_DATA
31 @# now do a verify volume
36 @tee ${cwd}/tmp/original
43 grep "Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null
47 echo " ===== Verify Volume failed!!! ===== "
48 echo " ===== Verify Volume failed!!! ===== " >>test.out
51 echo " ===== Verify Volume Test OK ===== "
52 echo " ===== Verify Volume Test OK ===== " >>test.out
53 rm -rf /tmp/bacula-restores /tmp/TestVolume001
54 rm -f ${cwd}/tmp/original