# file size to 1M, it runs very slow. There are about 64 files that
# are created during each of the two backups.
#
-TestName="restore-by-file-1t1d-tape"
+TestName="restore-by-file-tape"
JobName=restorebyfile
. scripts/functions
-copy_tape_confs
+
+require_tape_drive
+
+scripts/copy-tape-confs
+scripts/cleanup-tape
echo "${cwd}/build" >${cwd}/tmp/file-list
sed s%\^%${cwd}% ${cwd}/scripts/flist | sort | uniq >${cwd}/tmp/restore2-list
check_two_logs
scripts/check_for_zombie_jobs storage=DDS-4
-bin/bacula stop 2>&1 >/dev/null
+stop_bacula
for i in `cat ${cwd}/tmp/restore2-list`; do
diff $i ${cwd}/tmp/bacula-restores$i
if [ $? != 0 ] ; then