Solved

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

Posted on 2008-10-01
4
322 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
please contact the EE help to close the post
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now