3 # Run a simple backup of the Bacula build directory
4 # to a tape then restore it, we do that twice to ensure that
5 # we can correctly append to a tape.
7 TestName="backup-win32-tape"
12 scripts/copy-win32-confs
14 echo "${cwd}/build" >/tmp/file-list
16 change_jobname $JobName
20 cat <<END_OF_DATA >tmp/bconcmds
24 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
25 run job=NightlySave yes
36 @#restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
43 check_for_zombie_jobs storage=DDS-4