3 # Run four jobs at the same time, with four Volumes, but set
4 # Maximum Job Volumes = 1 on each of the Volumes. Note,
5 # Volume 2 will probably have two jobs on it. Something to
6 # be fixed in a later version.
13 scripts/copy-test-confs
14 echo "${cwd}/build" >${cwd}/tmp/file-list
16 cp -f ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
17 sed "s%# Maximum Volume Jobs% Maximum Volume Jobs%" ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
20 change_jobname NightlySave $JobName
23 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
26 @$out ${cwd}/tmp/log1.out
27 label storage=File1 volume=TestVolume001
28 label storage=File1 volume=TestVolume002
29 label storage=File1 volume=TestVolume003
30 label storage=File1 volume=TestVolume004
31 update Volume=TestVolume001 MaxVolBytes=100000000
34 setdebug level=100 Storage=File1
35 llist volume=TestVolume001
36 llist volume=TestVolume002
37 run job=$JobName level=Full Storage=File1 yes
38 run job=$JobName level=Full Storage=File1 yes
39 run job=$JobName level=Full Storage=File1 yes
42 llist volume=TestVolume001
43 llist volume=TestVolume002
48 @$out ${cwd}/tmp/log2.out
49 restore where=${cwd}/tmp/bacula-restores select storage=File1
62 check_for_zombie_jobs storage=File1