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