Solved

Restoring Activities CRM 4.0

Posted on 2011-09-21
6
273 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
[X]
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
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 36574855
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
ID: 36815698
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 Kadir
ID: 36890804
CRM 4.0 Enterprise Edition can handle multiple organizations.

What did you try to restore?
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 3

Author Comment

by:bigjdve
ID: 36891807
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 Kadir earned 500 total points
ID: 36903030
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
ID: 36995196
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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