How to Recover Restore SCCM ConfigMgr 2012 Primary Site Server and Database Part 1

Remember, we have to run the Site Repair Wizard (after completing the installation wizard) in ConfigMgr 2007, but this is changed for good in ConfigMgr 2012. More details about ConfigMgr 2007 Site Repair Wizard – Site Repair Wizard Step by Step Guide.

Now, In ConfigMgr 2012, the Recovery a Site option is part of Installation Wizard.

“Site Server recovery” and “Site Database recovery” are the TWO key parts of recovery process in CM2012. More details about recovery – through TechNet documentation.

In this post, we are going to recover a primary site with GOOD backup (More details about – Backup Site Server maintenance task). Note: We can make sure that from Smsbkup.log. Look for message ID “5035” which indicates that the site backup was completed without any errors. I’m able to successfullyrecover primary site which is having a secondary server with the following process.

If you DON’T have a GOOD backup of the primary site and your primary server is NOT a stand alone one then refer the following post to do the recovery- Part 2 .

I’ve already completed the rebuild of the server with same name, path, Drive letters and Patch level. Also, installed and configured IIS, DotNet 4, SQL and WSUS prior to the start of the recovery process.

1. Start : the ConfigMgr/SCCM 2012 Setup from the System Center 2012 Configuration Manager installation media, we’ve to run this setup from the server which you want to recover.

2. Select the option called “Recover a Site” to recover the primary site which you lost.

Note from TechNet : When Setup detects an existing Configuration Manager site on the server, you can start a site recovery, but the recovery options for the site server are limited. For example, if you run Setup on an existing site server, when you choose recovery, you can recover the site database server, but the option to recover the site server is disabled.

3. Site Server and Database Recovery: options are available in the following wizard.

As mentioned above there are TWO parts in the recovery scenario, Site Server recovery and Site Database recovery.

Site Server : Select “Recover this Site Server using an existing backup ” and browse to the backup file location.

Site DataBase : Select “Recover the Site Database using the backup set at the following location” and browse to the backup file location.

4. Site Recovery Information:This page in the wizard is already detected our Primary site and CAS details from the backup files. Note that CAS server details are already filled in the wizard.

Note : When recovering a primary site, you’ve the option to specify the CAS to which the primary was previously connected. Leave this setting blank when the primary site was not previously connected to a central administration site. The option is DISABLED when Setup has detected that you are recovering a CAS.

5. Prerequisites Download : Over here, we need to provide the prerequisites file details so that the SETUP can verify the files and proceed with the recovery.

6. Site and Installation Settings : Note that the site code, Site name details are already filled & greyed out (this information is already taken from the backup files). We can select the installation folder, remember it’s always better to install the configmgr in the same location.

7. DataBase Information : Most of the details are already filled and greyed out this page. Server Name, Database Name. Only option that we can change is SSB Port 4022.

8. Prerequisites Check : This will run the check and we can ignore the two warnings shown in the below pic (as this is a LAB environment, it’s always better to SET maximum memory allocation to SQL server). Click on “Begin Install” to start the recovery.

Note – We have skipped two pages “Customer Experience Improvement Program Configuration” and “Setting Summary”. Those are just default settings.

9. Install : This page shows us about the progress of the installation and recovery process.

In the following pic, the process which is going on is “Data Recovery in Progress”.

10. Verify ConfigMgrSetup.log: We can find detailed information about the actions performed by the recovery in ConfigMgrSetup.log and also details about the resync (BCP) happening from CAS Database (the changes happened in the hierarchy after the last good backup).

Anoop is Microsoft MVP and Veeam Vanguard ! He is a Solution Architect on enterprise client management with more than 17 years of experience (calculation done on the year 2018) in IT. He is Blogger, Speaker and Local User Group Community leader. His main focus is on Device Management technologies like SCCM 2012,Current Branch, Intune. He writes about the technologies like SCCM, SCOM, Windows 10, Azure AD, Microsoft Intune, RMS, Hyper-V etc...

Hi ! If it’s plain DC to DC 1 change without changing domains then we don’t have much to do. However, if we’re planning to move from domain 1 to domain 2 then it’s NOT supported. Can you confirm which is your scenario?

In my current environment there are two SCCm servers – SCCM 2007 & SCCM 2012 R2. Now i have installed separate server SCCM2012 R2. Please suggest me how can i copy database backup of both the servers in new server. or what’s the easiest way to consolidate all SCCM in one.

I have Scenario here , We have one Stand alone Primary SCCM 2012 site XXX and SQL server is installed on diff server yyy . Now , We are planning to move SCCM and SQL server to diff data center and request to let me which recovery option is better to perform as we are coping all data from the servers and Sql database will be restore as it is.

In my environment, I have primary site server, distribution point server and SQL server (Client was also installed in all 3 server). I have a good back up of primary site server. I deployed two applications and it was installed in all the three server. After this my primary site server crashed and other two servers are still fully functional.

Is there the way to recover that state of Primary site server where my two application was installed? or I have to deploy those two application again after doing my recovery?

Awards

About Author

Anoop C Nair

Have You Seen These?

Try These Out?

Archives

Archives

ABOUT US

Hi, I’m Anoop C Nair. I’m the person behind this website. Thank you for visiting the website and about me page! My website is all about Microsoft technologies. More about ConfigMgr (a.k.a SCCM), Intune, Mobile Device Management and all other technologies which are interesting for me. Read more about me here