[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

CRM Backup and Re-deploy

Posted on 2011-03-01
4
Medium Priority
?
1,589 Views
Last Modified: 2012-05-11
I have three CRM servers: dev, stage and prod.
I am currently live with prod and would like to reset the dev and stage to what Prod currently is.  I have tried moving the DB’s around and importing a new organization to no avail.  I have used the attached document and followed it exactly.  This is important for our disaster recovery plan as well.
So what is the best way to take a CRM system and move it to different machines (clean SQL 2008 and clean install of CRM using existing or new).
I am using CRM 4.0 Professional .


I tried this:

1. Install Windows Server 2003 or Windows Server 2008, and make sure that the computer is in the same domain as the Microsoft Dynamics CRM Server. In addition, you should use the same database name and disk structure. If you change either of these, you must take additional steps to correctly restore the SQL Server databases.

2. Install SQL Server.

3.If you have a valid backup of the master database, restore that backup. For more information, see Restoring the master Database (http://go.microsoft.com/fwlink/?linkid=100240) in SQL Server Books Online.

4. Restore the msdb database. For more information, see Restoring the model and msdb Databases (http://go.microsoft.com/fwlink/?linkid=100244) in SQL Server Books Online.

5. Restore the MSCRM_CONFIG and OrganizationName_MSCRM databases. For more information about how to restore databases, see Backing Up and Restoring Databases (http://go.microsoft.com/fwlink/?linkid=100249).

6. If Microsoft SQL Server Reporting Services and the Microsoft Dynamics CRM 4.0 Connector for Microsoft SQL Server Reporting Services are also installed on the instance of SQL Server, restore the ReportServer and ReportServertempDB databases. For more information about how to restore databases, see Backing Up and Restoring Databases (http://go.microsoft.com/fwlink/?linkid=100249).

7. If you restored the MSCRM_CONFIG database, you must run Microsoft Dynamics CRM Server Setup and use the Connect to existing databases option on the Specify Deployment Options page. If you did not restore the MSCRM_CONFIG database and the database is functioning correctly, you use the Import Organization feature in Microsoft Dynamics CRM Deployment Manager to reassociate the organization database with the Microsoft Dynamics CRM system. For more information about how to import an organization, see the Deployment Manager Help.

I get an Invalid User ID even witha the administrators account I ran the install under.  The account is a domain admin with local admin righs.

Any Ideas?

dw
0
Comment
Question by:casnet
[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
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:Feridun Kadir
ID: 35014354
Tell us more about the dev and stage setups please. Are they separate CRM installations on separate servers or are they different CRM organizations on the same server?
0
 

Author Comment

by:casnet
ID: 35018112
All servers are set up the same.  They are all seperate machines (VMs) running on a server.  The setups should all be the same.  Basic run through the wizards.  Nothing special out of the box.  Each server has a single instance (tenant) running on them.  All SQL versions are the same, 2008 SP1.

dw
0
 
LVL 30

Accepted Solution

by:
Feridun Kadir earned 2000 total points
ID: 35018467
In that case, on the dev and stage computers I would delete the CRM organizations in the CRM deployment manager, then delete the relevant databases on the SQL servers (but not the MSCRM_CONFIG database, only the database that corresponds to the organization).

Then
- on the production server, backup the CRM organization database in SQL server
- restore that backup to the SQL Servers for dev and stage.
- on dev and stage, import the newly restored organization database using the Deployment Manager

That should give a duplicate of the production database on dev and stage.

If you have items outside the CRM database (e.g. plug-ins) then you will need to copy those over too.

Hope this is what you needed.
0
 

Author Closing Comment

by:casnet
ID: 35018849
You Rock!  This worked perfect, I was bringing the config over which was messing with my permissions I think.

ps. I like how the MS guide says to bring it over.

Thanks!!!

dw
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

649 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