git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5755
91ce42f0-d328-0410-95d8-
f526ca767f89
Storage = File
Migration High Bytes = 40M
Migration Low Bytes = 20M
- Migration Time = 60
+ Migration Time = 1
}
Pool {
run job=$JobName level=Full yes
wait
update volume=FileVolume001 VolStatus=Used
-sql
-update Job SET RealEndTime='2004-01-01 12:01:01' WHERE JobId IN (2,3);
-
llist jobid=2,3
list jobs
list volumes
+@#setdebug level=20 dir
@# should migrate only jobid=2 and 3
run job=migrate-time yes
wait
messages
wait
-purge volume=FileVolume001
list jobs
list volumes
+purge volume=FileVolume001
@#
@# now do a restore
@#
check_two_logs
#diff ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 >/dev/null
diff ${cwd}/tmp/original ${cwd}/tmp/restored
-
dstat=$?
end_test