3 # Run a simple backup of the Bacula build directory
6 TestName="messages-test"
14 # Zap out any schedule in default conf file so that
15 # it doesn't start during our test
18 echo "s% Schedule =%# Schedule =%g" >$outf
19 echo 's%append = "%append = "/nowhere%g' >> $outf
20 echo 's%mailcommand = "%mailcommand = "/nowhere%g' >> $outf
21 cp $scripts/bacula-dir.conf $tmp/1
22 sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf
24 change_jobname BackupClient1 $JobName
27 cat <<END_OF_DATA >$tmp/bconcmds
31 setdebug level=100 storage=File
32 label volume=TestVolume001 storage=File pool=File
42 restore where=$tmp/bacula-restores select all done
50 check_for_zombie_jobs storage=File