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="2drive-concurrent-test"
9 JobName=Four-concurrent-jobs
13 scripts/copy-2disk-drive-confs
14 scripts/prepare-two-disks
15 echo "${cwd}/build" >${cwd}/tmp/file-list
17 change_jobname NightlySave $JobName
20 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
23 @$out ${cwd}/tmp/log1.out
24 label pool=Default storage=DDS-4 volume=TestVolume001 slot=1 drive=0
25 label pool=Default storage=DDS-4 volume=TestVolume002 slot=2 drive=1
26 update Volume=TestVolume001 MaxVolBytes=100000000
29 setdebug level=200 Storage=DDS-4
31 llist volume=TestVolume001
32 llist volume=TestVolume002
33 run job=$JobName level=Full Storage=DDS-4
36 llist volume=TestVolume001
37 llist volume=TestVolume002
38 run job=$JobName level=Full Storage=DDS-4
41 llist volume=TestVolume001
42 llist volume=TestVolume002
43 run job=$JobName level=Full Storage=DDS-4
46 llist volume=TestVolume001
47 llist volume=TestVolume002
49 run job=$JobName level=Full Storage=DDS-4
59 llist volume=TestVolume001
60 llist volume=TestVolume002
73 @$out ${cwd}/tmp/log2.out
74 setdebug level=200 Storage=DDS-4
75 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
89 check_for_zombie_jobs storage=DDS-4