]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/migration-job-test
Updates
[bacula/bacula] / regress / tests / migration-job-test
index b9be5fdd8f4853a63a35600e865ea4bfbd66065e..0b6cb19691af4229950b5f031f8a2e6241e4633b 100755 (executable)
@@ -12,9 +12,9 @@ set_debug 0
 
 . config.out
 
+scripts/cleanup
 scripts/copy-migration-confs
 scripts/prepare-two-disks
-scripts/cleanup
 echo "${cwd}/build" >/tmp/file-list
 
 change_jobname NightlySave $JobName
@@ -34,17 +34,20 @@ messages
 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
-list volumes
 @# run two jobs (both will be migrated)
 run job=$JobName yes
 run job=$JobName yes
 wait
+list jobs
 list volumes
+@#setdebug level=100 dir
 @# should migrate two jobs
-run job=migrate yes
-list volumes
+run job=migrate-job yes
 wait
 messages
+@# purge volume=FileVolume001
+list jobs 
+list volumes
 wait
 @# 
 @# now do a restore