Solved

Restoring Activities CRM 4.0

Posted on 2011-09-21
6
256 Views
Last Modified: 2012-05-12
One of my users had all of their activities deleted.

I am trying to restore just their activities, however I can't find a reliable way of doing this without restoring the entire database, which I can't do because I would then lose 2 weeks worth of data.

I have also tried looking at the DeletionStateCode field, and found that all records have the same state so I am thinking that during a maintenance that they were purged.

Any ideas?
0
Comment
Question by:bigjdve
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:feridun
Comment Utility
I think your only option is to restore a backup to SQL with a different database name. Then either:
1) use the CRM deployment manager to import the organization using the new database name. Then export the activities to excel and import them into the production database or
2) if you don't have an edition of CRM that supports multiple organizations export the activities directly from the SQL tables.

Either way it will be messy.
0
 
LVL 3

Author Comment

by:bigjdve
Comment Utility
Sorry for the delay in getting back, as we had a problem with the restore.

However, I have been able to extract the information. I can't do a direct SQL restore as it is saying that the table is read only.

I am currently trying to do an import but not being able to find the correct way to map it where it will except the data that it has pushed out.

which versions of CRM can handle multiple organizations?

Do you have any other ideas?
0
 
LVL 29

Expert Comment

by:feridun
Comment Utility
CRM 4.0 Enterprise Edition can handle multiple organizations.

What did you try to restore?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 3

Author Comment

by:bigjdve
Comment Utility
I am trying to restore activities that were deleted.

I have restored the entire database, I have it in a separate database on a different SQL server.

I guess I will need to try and setup a different organization in order to try and export from there.
0
 
LVL 29

Accepted Solution

by:
feridun earned 500 total points
Comment Utility
You can't restore the activities directly into the MSCRM database.  The process I envisaged was something like this:

1) Restore the database (with the required activities) to a different database or SQL Server
2) from the activities tables export the required rows to a CSV formatted file
3) Use the CSV file to import into CRM via the CRM application.

Exporting the activities out of the restored database will take time to investigate and include all the correct headings. I haven't done this before but I suspect you will need to do the different activity types (e.g. phone calls, tasks etc) separately. I would start with the filteredviews for each of the activity types in the CRM database. One of the big problems will be to ensure you include links to all the activity parties (e.g. senders, recpients etc). This really is not going to be a simple restore into the current database.
0
 
LVL 3

Author Closing Comment

by:bigjdve
Comment Utility
This was a long and drawn out process. However it did work. I wish that Microsoft would make this process easier overall.

Thanks for your help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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