Solved

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

Posted on 2008-10-01
4
331 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to share SSIS Package? 6 37
sql query to calculate avaerage 21 40
MS SQL + Insert Into Table - If Doesnt Exist 9 35
Sql Query 6 67
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

809 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