# It should require at least 4 different bsrs.
#
cwd=`pwd`
-bin/bacula stop 2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
scripts/copy-tape-confs
scripts/cleanup-tape
yes
wait
@output tmp/log2.out
+@#
+@# now unmount the tape and start two restores
+@# at the same time
+@#
+unmount storage=DDS-4
+restore where=${cwd}/tmp/bacula-restores select all done
+yes
restore where=${cwd}/tmp/bacula-restores select
unmark *
mark *
done
yes
+mount storage=DDS-4
wait
messages
@output