Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

How to update LSN Number Expand / Collapse
Posted Wednesday, June 12, 2013 12:35 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Wednesday, May 11, 2016 12:43 AM
Points: 85, Visits: 533
Dear All,

Request you to provide the some clarification on below issue.

We have a backup files with LSN Number like Ex:5,6,7,8

When we are restoring the file after 6th 7 file i am not able to restore. There i am getting error file has been corrupted.

I heard that we can update the LSN number,like 7th file as 6th then we can restore in sequence.Again 8th file as 7th file.

Is it right.If yes how to update the file.

Please provide me the solution if we are in this situation.
Post #1462473
Posted Wednesday, June 12, 2013 12:59 AM



Group: General Forum Members
Last Login: Saturday, December 3, 2016 5:18 AM
Points: 45,619, Visits: 44,147
You can't update the LSN anywhere. It's the log sequence number, it describes the order of data modifications.

If you're restoring log backups and one is corrupt then you cannot restore past that corrupt file unless you have a full or differential backup after that corrupt file that you can restore.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1462477
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse