#!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
#
# Run a simple backup of the Bacula build directory. Create three
# tapes, each in a different pool, then run two jobs both of which
# Write out bconsole commands
cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-setdebug level=200 storage=Virtual
+setdebug level=50 storage=Virtual
@#setdebug level=200 client=$CLIENT
label storage=Virtual volume=TestVolume001 slot=1 Pool=Default drive=0
label storage=Virtual volume=TestVolume002 slot=2 Pool=Full drive=0
run_bacula
cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
messages
@#
@# now do a restore