Hi,
Getting the same SQL4970N error which says processing has halted at logfile <logfilename>. I have checked in the archive log path for the existence of that logfile which say it is there.
I am experimenting this on a test machine now. Request you to take the trouble to check step-by-step and help me know what wrong am i doing.
1. db2sampl
2. DB cfg modifications:
- db2 update db cfg for sample using userexit on
- db2 update db cfg for salmple using logsecond -1
- db2 update db cfg for sample using logfilsiz 200(parameter changed to fill the log files quickly during testing)
3. db2 backup database sample to <backup_path> (full backup)
4. connect to sample
5. db2 "insert into staff(select * from staff)" (perform this operation 10 times to archive the log file automatically)
6. db2 backup database sampe online to <backup_path>
7. db2 drop table staff
client asked to restore database from last backup avialable (here, its the online backup taken at step number6)
8. copy all active logs into the archive log path
9. db2 restore database sample taken at <online_backup_image_time>
10. db2 rollforward database sample to <current time> using local time and stop
SQL4970N:Roll-forward recovery on database "SAMPLE" cannot reach the
specified stop point .....
Its really on an urgent basis i need to start implementing userexit.