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"
13 scripts/copy-win32-confs
15 echo "${cwd}/build" >/tmp/file-list
17 change_jobname $JobName
21 cat <<END_OF_DATA >tmp/bconcmds
25 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
26 run job=NightlySave yes
37 @#restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
44 check_for_zombie_jobs storage=DDS-4