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
13 scripts/copy-test-confs
14 echo "${cwd}/build" >${cwd}/tmp/file-list
16 change_jobname NightlySave $JobName
19 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
22 @$out ${cwd}/tmp/log1.out
27 update Volume=TestVolume001 MaxVolBytes=100000000
30 setdebug level=51 Storage=File1
32 llist volume=TestVolume001
33 llist volume=TestVolume002
34 run job=$JobName level=Full Storage=File1
37 llist volume=TestVolume001
38 llist volume=TestVolume002
39 run job=$JobName level=Full Storage=File1
42 llist volume=TestVolume001
43 llist volume=TestVolume002
44 run job=$JobName level=Full Storage=File1
47 llist volume=TestVolume001
48 llist volume=TestVolume002
50 run job=$JobName level=Full Storage=File1
60 llist volume=TestVolume001
61 llist volume=TestVolume002
74 @$out ${cwd}/tmp/log2.out
75 restore where=${cwd}/tmp/bacula-restores select storage=File1
89 check_for_zombie_jobs storage=File1