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="win32-backup-tape"
13 scripts/copy-win32-confs
16 echo "${cwd}/build" >${cwd}/tmp/file-list
18 change_jobname $JobName
21 cat <<END_OF_DATA >tmp/bconcmds
25 label storage=tape volume=TestVolume001 slot=0 pool=Default drive=0
37 restore where=${cwd}/tmp/bacula-restores select all storage=tape done
44 check_for_zombie_jobs storage=tape