--- /dev/null
+ Minimum Block Size = 32768
+ Maximum Block Size = 32768
+ Hardware End of Medium = yes
+ BSF at EOM = yes
+ Fast Forward Space File = yes
+ Two EOF = no
+
echo " "
echo " "
-echo " === Starting four-concurent-jobs-tape ==="
-echo " === Starting four-concurent-jobs-tape ===" >>working/log
+echo " === Starting four-concurrent-jobs-tape ==="
+echo " === Starting four-concurrent-jobs-tape ===" >>working/log
echo " "
#bin/bacula start 2>&1 >/dev/null
@output
quit
END_OF_DATA
-
bin/bacula stop 2>&1 >/dev/null
grep "^Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
bstat=$?
if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
echo " "
echo " "
- echo " !!!!! four-concurent-jobs-tape Bacula source failed!!! !!!!! "
- echo " !!!!! four-concurent-jobs-tape failed!!! !!!!! " >>test.out
+ echo " !!!!! four-concurrent-jobs-tape Bacula source failed!!! !!!!! "
+ echo " !!!!! four-concurrent-jobs-tape failed!!! !!!!! " >>test.out
echo " "
exit 1
else
- echo " ===== four-concurent-jobs-tape Bacula source OK ===== "
- echo " ===== four-concurent-jobs-tape OK ===== " >>test.out
+ echo " ===== four-concurrent-jobs-tape Bacula source OK ===== "
+ echo " ===== four-concurrent-jobs-tape OK ===== " >>test.out
scripts/cleanup
exit 0
fi
#
# Run a simple backup of the Bacula build directory
# to a tape where the maximum tape file size is set to 1M
-# then restore a few files from it.
+# then restore a few files from it. Note, by setting the maximum
+# file size to 1M, it runs very slow. There are about 64 files that
+# are created during each of the two backups.
#
cwd=`pwd`
bin/bacula stop 2>&1 >/dev/null
echo " "
bin/bacula stop 2>&1 >/dev/null
exit 1
+else
+ echo " First of two restores OK "
fi
rm -rf ${cwd}/tmp/bacula-restores
#