git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4904
91ce42f0-d328-0410-95d8-
f526ca767f89
label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
update Volume=TestVolume001 MaxVolBytes=3000000 pool=Default drive=0
+sql
+select * from Storage;
+select VolumeName,InChanger,StorageId from Media;
+
@#setdebug level=1000 client
run job=$JobName yes
wait
+sql
+select * from Storage;
+select VolumeName,InChanger,StorageId from Media;
+
messages
quit
END_OF_DATA
label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
update Volume=TestVolume001 MaxVolBytes=3000000 pool=Default drive=0
+sql
+select * from Storage;
+select VolumeName,InChanger,StorageId from Media;
+
@#setdebug level=1000 client
run job=$JobName yes
wait
+update slots scan storage=DDS-4
+sql
+select * from Storage;
+select VolumeName,InChanger,StorageId from Media;
+
messages
@#
@# now do a restore