If you have (say) 10 transaction log backups and some, all or none may have been restored to the database. Is there a way to determine which files have already been restored?
Thanks
Dave
| |||
|
feedback
|
|
You will want to match up the first/last lsn from running With the LSN info from The LSN from the dbcc command needs to be converted to be usable however. For example, if you have an LSN from the dbcc log command that looks like
Note: There is a little bit of debate out there about how to convert this properly, and the solution above is a bit of a hack. The best way is with the UDF in this KB article. | |||
|
feedback
|