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"
11 require_tape_drive_drive
14 scripts/copy-win32-confs
16 echo "${cwd}/build" >${cwd}/tmp/file-list
18 change_jobname $JobName
22 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
25 @$out ${cwd}/tmp/log1.out
26 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
27 run job=NightlySave yes
37 @$outt ${cwd}/tmp/log2.out
38 @#restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
45 check_for_zombie_jobs storage=DDS-4