Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating Data Between Dynamics CRM 2011 Instances?

I have a Dynamics CRM 2011 instance where the database has become corrupted. The corrupted data appears to be isolated to a few tables (e.g. PrincipalObjectAccess) and the instance still functions normally to all appearances. The data is irretrievable (all forms of DBCC CHECKDB, etc. have been run) and a backup is not available (preaching on backups will not help resolve the issue).

I've tried using schema and data synchronization tools like those offered by dbForge and Red-Gate, the schema sync works but the data sync always seems to come up inconsistent.

At this juncture I think my best route is probably to export all data from Dynamics CRM 2011 and then import it into a new instance of Dynamics CRM 2011. Any thoughts on the best way to accomplish this? Or alternative methods of rectifying the situation?

like image 751
Dave Mackey Avatar asked Feb 24 '26 01:02

Dave Mackey


1 Answers

Exporting all data and importing it into new organization will likely create more errors and I wouldn't really go with that option unless everything else fails.

You said data synchronization failed: have you tried deleting all data from new instance first and then running data synchronization. It should be simpler than synchronization when data already exists there.

Have you tried synchronizing data using ApexSQL Data Diff ?

Another option you can try that doesn't require you to create new organization is reading your SQL Server transaction logs and checking if corrupted data can be found there. If you can retrieve the data then you can just re-create tables with valid data and you'll be all good. Unfortunately this is only possible using 3rd pary tools such as ApexSQL Log

like image 165
Dragan Radivojevic Avatar answered Feb 25 '26 14:02

Dragan Radivojevic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!