3 # Run a simple backup of the Bacula build directory
4 # to a tape where the maximum tape file size is set to 1M
6 TestName="small-file-size-tape"
11 scripts/copy-tape-confs
14 echo "${cwd}/build" >/tmp/file-list
15 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
16 sed "s%# Maximum File Size% Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
18 change_jobname $JobName
21 cat <<END_OF_DATA >tmp/bconcmds
25 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
26 setdebug level=2 storage=DDS-4
34 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
46 check_for_zombie_jobs storage=DDS-4