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
Solved

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

Posted on 2008-10-01
4
334 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
  • 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 42

Expert Comment

by:EugeneZ
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 42

Expert Comment

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

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL create line numbers for data sampling 11 28
SQL Quer 4 22
RAISERROR WITH NOWAIT 2 17
SQL Availablity Groups Shared Path 2 16
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

860 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