CRM 2013 Migration

Hi All

I am wondering if you may be able to assist.  I am trying to take a backup of our current piloted CRM 2013 environment and restore it into a UAT environment for our testers to work on.

The steps I have taken so far have been:-

1)      So I have taken an SQL backup from the pilot CRM 2013 database and the config database.
2)      I have restored both of them into the UAT CRM 2013 SQL environment
3)      In the UAT App Server, I have tried to open MSCRM Deployment Manager and I get the following error message (displayed below) which is stopping me from creating a new Organisation etc..  Can anyone please assist as this is now an urgent matter and my experience of CRM is somewhat limited?

Thanks in advance
Fing wongAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fing wongAuthor Commented:
Feridun KadirPrincipal ConsultantCommented:
I think the problem is that you restored the config database as well which is causing the problems. The config database (MSCRM_CONFIG) is unique to each deployment (installation) of CRM; you have overwritten the one for your UAT system.

The safest way to deal with this is to remove CRM on your UAT system, delete the databases in SQL (UAT), reinstall CRM (which will create a new CONFIG db) and then copy over just the organization database to the UAT SQL. Then you can use Deployment Manager to import the database that you just restored.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fing wongAuthor Commented:
Hi and thanks for the response.  The only issue I have, is that when I originally didn't copy the MSCRM_CONFIG database, and then tried to open deployment manager, it complained about it not existing, hence I copied it across.

I've even tried creating just a blank database called MSCRM_CONFIG and running through the above process, but to no avail. I think the issue is definitely around that database like you say.

Should one be there anyway based on the deployment manager being installed already, as it wasn't?

IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Feridun KadirPrincipal ConsultantCommented:
MSCRM_CONFIG is created when you install CRM on a server and choose to create a new deployment.

There is no need to manually manage the MSCRM_CONFIG database and you certainly don't need to create it. The CRM install does all that.

I would start over with your UAT environment, check the install is fine by opening Deployment Manager and checking it works. Then restore your backup to the SQL UAT and try again.
Fing wongAuthor Commented:
Will do. Thanks again and I'll let you know how I get on.
Feridun KadirPrincipal ConsultantCommented:
Are you at the NCFE in Newcastle? If so, say hello to Paul.
Fing wongAuthor Commented:
Will do when I see him. He's on hols so I'm going to to kill him when he gets back as his instructions haven't worked. Hence the questions. LOL!!!
Fing wongAuthor Commented:
Thanks for all of the responses.

That worked a treat.


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.