]> git.sur5r.net Git - bacula/bacula/commitdiff
Update migrate-job
authorKern Sibbald <kern@sibbald.com>
Fri, 20 Jul 2007 08:54:32 +0000 (08:54 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 20 Jul 2007 08:54:32 +0000 (08:54 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5205 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/migration-job-test

index 9661a60f8e657c660975c24a2ef344641571448b..6de8ccb4190c748a28722d73671583a266a7cb70 100755 (executable)
@@ -29,7 +29,7 @@ cat <<END_OF_DATA >tmp/bconcmds
 @output
 messages
 @$out tmp/log1.out
-setdebug level=100 storage=File
+@#setdebug level=100 storage=File
 label storage=File volume=FileVolume001 Pool=Default
 label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
 label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
@@ -49,6 +49,16 @@ messages
 list jobs 
 list volumes
 wait
+@#
+@# Now do another backup, but level Incremental
+@#
+run job=$JobName level=Incremental yes
+wait
+messages
+@#
+@# This final job that runs should be Incremental and
+@# not upgraded to full.
+list jobs
 @# 
 @# now do a restore
 @#