Solved

Restoring Activities CRM 4.0

Posted on 2011-09-21
6
272 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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