1 REM Run four jobs at the same time, with two Volumes.
2 REM Set max Vol bytes of first volume
3 REM to less than total backup to force Bacula to use the second
6 SET TestName="2drive-concurrent-test"
7 SET JobName=Four-concurrent-jobs
8 CALL CALL scripts\functions set_debug 0
11 CALL scripts\copy-2disk-drive-confs
12 CALL scripts\prepare-two-disks
13 ECHO %CD:\=/%/build >tmp\file-list
15 CALL scripts\functions change_jobname NightlySave %JobName%
16 CALL scripts\functions start_test
18 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\2drive-concurrent-test.bscr >tmp\bconcmds
20 CALL scripts\functions run_bacula
21 CALL scripts\functions check_for_zombie_jobs storage=DDS-4
22 CALL scripts\functions stop_bacula
24 CALL scripts\functions check_two_logs
25 CALL scripts\functions check_restore_diff
26 CALL scripts\functions end_test