#!/bin/sh # # Run a simple backup of the Bacula build directory but # split the archive into two volumes # cwd=`pwd` scripts/copy-test-confs scripts/cleanup echo "${cwd}/build" >/tmp/file-list bin/bacula stop 2>&1 >/dev/null bin/drop_sqlite_tables bin/make_sqlite_tables echo " " echo " " echo " === Starting two-vol-test ===" echo " === Starting two-vol-test ===" >working/log echo " " bin/bacula start bin/console -c bin/console.conf <>test.out echo " " else echo " ===== two-vol-test Bacula source OK ===== " echo " ===== two-vol-test OK ===== " >>test.out scripts/cleanup fi