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