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"
12 scripts/copy-tape-confs
15 echo "${cwd}/build" >${cwd}/tmp/file-list
16 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
17 sed "s%# Maximum File Size% Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
19 change_jobname NightlySave $JobName
22 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
25 @$out ${cwd}/tmp/log1.out
26 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
27 setdebug level=2 storage=DDS-4
34 @$out ${cwd}/tmp/log2.out
35 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
47 check_for_zombie_jobs storage=DDS-4