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-1t1d-tape"
12 echo "${cwd}/build" >${cwd}/tmp/file-list
13 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
14 sed "s%# Maximum File Size% Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
16 change_jobname NightlySave $JobName
19 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
22 @$out ${cwd}/tmp/log1.out
23 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
24 setdebug level=2 storage=DDS-4
31 @$out ${cwd}/tmp/log2.out
32 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
44 check_for_zombie_jobs storage=DDS-4