3 # Run a simple backup of the Bacula build directory
4 # to two tapes where the maximum tape file size is set to 1M
6 TestName="eot-fail-tape"
13 scripts/copy-tape-confs
15 echo "${cwd}/build" >${cwd}/tmp/file-list
17 out="${cwd}/tmp/sed_tmp"
18 echo "s%# Maximum File Size% Maximum File Size%g" >${out}
19 cp -f ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
20 sed -f ${out} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
22 change_jobname $JobName
25 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
28 @$out ${cwd}/tmp/log1.out
29 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
30 update Volume=TestVolume001 MaxVolBytes=3000000
37 @$out ${cwd}/tmp/log2.out
38 restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
47 check_for_zombie_jobs storage=DDS-4