#!/bin/sh # # Run a simple backup of the Bacula build directory using the compressed option # then backup a second time and finally restore it # TestName="exclude-dir-test" JobName=exclude-dir . scripts/functions cwd=`pwd` scripts/cleanup scripts/copy-test-confs echo "${cwd}/build" >${cwd}/tmp/file-list sed 's/Include {/Include { Exclude Dir Containing = ".nobkp"/' $conf/bacula-dir.conf > $tmp/1 cp -f $tmp/1 $conf/bacula-dir.conf change_jobname CompressedTest $JobName start_test cat >tmp/bconcmds <