Solved

CRM Backup and Re-deploy

Posted on 2011-03-01
4
1,522 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 29

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 29

Accepted Solution

by:
Feridun Kadir earned 500 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

726 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