3 # Run four jobs at the same time, with two Volumes.
4 # Set max Vol bytes of first volume
5 # to less than total backup to force Bacula to use the second
8 TestName="four-concurrent-jobs-test"
9 JobName=Four-concurrent-jobs
14 scripts/copy-test-confs
15 echo "${cwd}/build" >/tmp/file-list
17 change_jobname NightlySave $JobName
20 cat <<END_OF_DATA >tmp/bconcmds
28 update Volume=TestVolume001 MaxVolBytes=100000000
31 setdebug level=001 Storage=File1
33 run job=$JobName level=Full Storage=File1
37 run job=$JobName level=Full Storage=File1
41 run job=$JobName level=Full Storage=File1
45 run job=$JobName level=Full Storage=File1
66 restore where=${cwd}/tmp/bacula-restores select storage=File1
80 check_for_zombie_jobs storage=File1