|
||||||||||||
|
|
|
What You attempt to restore a transaction log and you receive an error similar to the following:
How There are one or more transaction log backups that need to be restored before the current transaction log backup. In the example above, you will need to first restore a transaction log backup that contains LSN 188000000105900001. If you have access to the server where the backup was made, and assuming that the backup and restore history tables still contain the data, you can run the following query to list out the transaction log backups that need to be restored in sequence (replace the database name with your database name):
If you do not have access to the backup history tables, or if the data has been purged, you'll need to inspect the header of each backup file in find out the LSNs that are contained therein e.g.
You will need to start restoring from the backup set where LSN 188000000105900001is backed up in. You use the FirstLsn and LastLsn values for reference. Discuss or comment on this article on our Facebook group.
Document history
|
|||||||