@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume003
-label storage=File1 volume=TestVolume004
+label storage=File1 volume=TestVolume001 pool=Default
+label storage=File1 volume=TestVolume002 pool=Default
+label storage=File1 volume=TestVolume003 pool=Default
+label storage=File1 volume=TestVolume004 pool=Default
update Volume=TestVolume001 MaxVolBytes=100000000
@#50000000
@#12
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume003
+label storage=File1 volume=TestVolume001 pool=Default
+label storage=File1 volume=TestVolume002 pool=Default
+label storage=File1 volume=TestVolume003 pool=Default
update Volume=TestVolume001 volretention=10s
update Volume=TestVolume001 maxvoljobs=1
update Volume=TestVolume002 volretention=10s
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File1 volume=TestVolume001
+label storage=File1 volume=TestVolume001 pool=Default
setdebug level=150 client=$CLIENT
estimate job=$JobName level=Full
setdebug level=50 client=$CLIENT
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File volume=TestVolume001
-label storage=File volume=TestVolume002
+label storage=File volume=TestVolume001 pool=Default
+label storage=File volume=TestVolume002 pool=Default
run job=$JobName yes
wait
messages
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume003
-label storage=File1 volume=TestVolume004
+label storage=File1 volume=TestVolume001 pool=Default
+label storage=File1 volume=TestVolume002 pool=Default
+label storage=File1 volume=TestVolume003 pool=Default
+label storage=File1 volume=TestVolume004 pool=Default
@# Note, this is going to fail if the pruning gets
@# to tight because the saved volume is too large.
@# In that case, either add another volume, or
cat <<END_OF_DATA >tmp/bconcmds
@$out tmp/RUN_backup
messages
-label volume=TestVolume001
+label volume=TestVolume001 pool=Default
run job=backup yes
wait
messages
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File volume=TestVolume001
+label storage=File volume=TestVolume001 pool=Default
run job=$JobName yes
wait
messages
@$out /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File volume=TestVolume001
+label storage=File volume=TestVolume001 pool=Default
run job=$JobName yes
wait
messages
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File volume=TestVolume001
+label storage=File volume=TestVolume001 pool=Default
run job=$JobName yes
wait
messages
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-label storage=File1 volume=TestVolume004
-label storage=File1 volume=TestVolume003
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume001
+label storage=File1 volume=TestVolume004 pool=Default
+label storage=File1 volume=TestVolume003 pool=Default
+label storage=File1 volume=TestVolume002 pool=Default
+label storage=File1 volume=TestVolume001 pool=Default
update Volume=TestVolume004 MaxVolBytes=3000000
update Volume=TestVolume003 MaxVolBytes=3000000
update Volume=TestVolume002 MaxVolBytes=3000000