3 # Run a simple backup of the Bacula build directory
4 # to a tape where we set the minimum and maximum block
7 TestName="fixed-block-size-tape"
12 scripts/copy-tape-confs
14 echo "${cwd}/build" >/tmp/file-list
16 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
17 echo "s%# Maximum Block Size% Maximum Block Size%" >${cwd}/tmp/2
18 echo "s%# Minimum Block Size% Minimum Block Size%" >>${cwd}/tmp/2
19 sed -f ${cwd}/tmp/2 ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
23 echo "!!!! sed problem in Fixed Block Size test !!!!!"
27 rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
29 change_jobname $JobName
33 cat <<END_OF_DATA >tmp/bconcmds
37 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
38 run job=NightlySave yes
45 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
57 check_for_zombie_jobs storage=DDS-4