TestVolume001
label storage=File1
TestVolume002
-update Volume=TestVolume001
-6
-3000000
-10
+update Volume=TestVolume001 MaxVolBytes=3000000
run job=NightlySave storage=File1
yes
wait
# Run a simple backup of the Bacula build directory but
# split the archive into two volumes, then restore
# files on only one of the volumes and ensure that
-# the other volume is not used.
+# the other volume is not used. I.e. bsr optimization
+# works.
#
cwd=`pwd`
scripts/copy-test-confs
# Run a simple backup of the Bacula build directory but
# create three volumes and do six backups causing the
# volumes to be recycled, and cycling through the volumes
-# twice.
+# twice. Tests maxvoljobs and volretention.
#
cwd=`pwd`
scripts/copy-test-confs
echo " === Starting recycle-test ===" >working/log
echo " "
-#bin/bacula start 2>&1 >/dev/null
-bin/bacula start
+bin/bacula start 2>&1 >/dev/null
bin/console -c bin/console.conf <<END_OF_DATA
@output /dev/null
messages
#
# Run a simple backup of the Bacula build directory but
# split the archive into four volumes, two of which are
-# totally full.
+# totally full. I.e. make sure that bsr selects all tapes
+# including those fully spanned.
#
cwd=`pwd`
scripts/copy-test-confs