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
Author
Message
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: Thursday, August 7, 2014 7:41 AM
Points: 83, Visits: 454
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


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 12:52 PM
Points: 39,965, Visits: 36,321
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