2 REM This is Arno's test. It uses two pools, two tapes, and
3 REM an autochanger. Note, the Director has three Pools in its
4 REM conf: Default, Full, and Inc. Default is used in the
5 REM NightlySave job by default. What is backed up is what
6 REM is in /tmp/file-list, which is by default the Bacula
7 REM source code (i.e. the build directory).
9 REM Note, we use the virtual disk autochanger.
11 SET TestName=two-pool-test
14 CALL scripts\functions set_debug 0
19 CALL scripts\copy-2disk-confs >nul 2>&1
20 CALL scripts\prepare-two-disks
22 REM Make a relatively large backup set 5 x source code directory
23 REM Reduced to 1 for portable
24 echo %CD:\=/%/build >\tmp\file-list
26 CALL scripts\functions start_test
28 REM Write out bconsole commands to a file
29 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-pool-test.bscr >tmp\bconcmds
31 CALL scripts\functions run_bacula
32 CALL scripts\functions check_for_zombie_jobs storage=DDS-4
33 CALL scripts\functions stop_bacula
35 CALL scripts\functions check_two_logs
36 CALL scripts\functions check_restore_diff
37 CALL scripts\functions end_test