3 # Run a simple backup of the Bacula build directory but
4 # split the archive into two volumes
6 TestName="two-vol-test"
13 scripts/copy-test-confs
14 echo "${cwd}/build" >/tmp/file-list
16 change_jobname NightlySave $JobName
19 cat <<END_OF_DATA >tmp/bconcmds
23 label storage=File1 volume=TestVolume002
24 label storage=File1 volume=TestVolume001
25 update Volume=TestVolume002 MaxVolBytes=3000000
26 run job=$JobName storage=File1 yes
33 restore where=${cwd}/tmp/bacula-restores select all storage=File1 done
42 check_for_zombie_jobs storage=File1