3 # Run a simple backup of the Bacula build directory
6 TestName="backup-bacula-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 cp $scripts/bacula-dir.conf $tmp/1
20 sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf
22 change_jobname BackupClient1 $JobName
25 cat <<END_OF_DATA >$tmp/bconcmds
29 setdebug level=100 storage=File
30 label volume=TestVolume001 storage=File pool=File
56 restore where=$tmp/bacula-restores select all done
64 check_for_zombie_jobs storage=File
67 cat <<END_OF_DATA >$tmp/bconcmds
71 @#setdebug level=100 storage=File
79 restore where=$tmp/bacula-restores select all done
87 # Now do a second backup after making a few changes
89 touch ${cwd}/build/src/dird/*.c
90 echo "test test" > ${cwd}/build/src/dird/xxx
94 check_for_zombie_jobs storage=File