3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Run a simple backup of the Bacula build directory but
9 # split the archive into two volumes
11 TestName="two-vol-test"
17 scripts/copy-test-confs
18 echo "${cwd}/build" >${cwd}/tmp/file-list
20 change_jobname NightlySave $JobName
23 cat <<END_OF_DATA >tmp/bconcmds
27 label storage=File1 volume=TestVolume002
28 label storage=File1 volume=TestVolume001
29 update Volume=TestVolume002 MaxVolBytes=3000000
30 run job=$JobName storage=File1 yes
37 restore where=${cwd}/tmp/bacula-restores select all storage=File1 done
45 check_for_zombie_jobs storage=File1