Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I recover Merge replication data lost, due to a schema change snapshot being applied?

Posted on 2008-10-01
4
Medium Priority
?
351 Views
Last Modified: 2012-05-05
Using SQL Server 2000

I have a merge replication setup between two offices, I made a change to the article published, but did not generate a new snapshot for two days.  Usually I generate and apply it straight away, with no loss of transactions/ data, nor the need for the whole database to be pushed to the subscriber.

However, on this occasion I appear to have had all the data on the subscriber replaced!!
Firstly -
         How can I recover the lost merge transactions from the subscriber?
         Unfortunately no backup file available :(
Finally -
         Why did this not behave in the 'normal' way where only changes are propagated to the subscribers?
0
Comment
Question by:debrafry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Accepted Solution

by:
debrafry earned 0 total points
ID: 22625051
I have found a way of recovering the data. But still don't know why it behaved in this manner.

I downloaded a program called SQL Log rescue by reg-gate.

I was able to read the transaction log and generate a script file that could be run to redo the inserts.  I have had to edit to script file and run it in batches, but on the whole, I have recovered most if not all of the lost data.
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 22651891
did you check: you need to
 How to troubleshoot SQL Server merge replication problems
http://support.microsoft.com/kb/315521
 
--- can be some conflict:
Merge Replication Conflict Detection and Resolution
http://msdn.microsoft.com/en-us/library/aa256310(SQL.80).aspx 
0
 

Author Comment

by:debrafry
ID: 22657331
Thank you for taking the time to reply, however, this does not answer my question :(.

I have now manged to recover the data. Which was my main problem.

Please close this question.
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 22658406
please contact the EE help to close the post
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question