Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
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: Friday, December 12, 2014 9:15 AM
Points: 85, Visits: 465
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: Today @ 5:33 AM
Points: 41,119, Visits: 37,696
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 2008, MVP
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