I loose my database file. To recovery, I'm getting last full backup and trying to apply the only one transaction log backup and current log.
I'm using dbeng9 database.db -a backup_log.log
and dbeng9 database.db -a current_log.log
I'm successfully appling backup log. I can see "Recovery Complete" message in server log. But, when I try to apply current log, I', getting this message:
"Cannot open transaction log file -- Can't use log file "current_log.log" since it has been used more recently than the database file". Of course log is newer than database!
How can I recover by database? Using dbtran and executing sql file is the last option.