Skip to content
How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr

How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr

Written By Anoop C Nair
Last Updated August 7, 2024
Posted In SCCM
SHARE

How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr with the following video tutorial from the HTMD community.

Let’s see “How to Recover SCCM CB Primary Server Using SQL Database Backup.” Sometimes, you must restore the SQL on a new virtual server or hardware. I have also included that in the post below.

The critical point here is that “SCCM CB full backup” is not required to restore your SCCM CB primary server. Instead, you can restore or recover the primary site server from SQL backup and CD—latest folder backup (along with package source folders, WSUS folders/DBs, etc.).

This post provides all the details on recovering the SCCM CB primary server using the SQL database backup configuration manager configMgr.

Patch My PC

Prerequisites:

The following are the prerequisites for Recovering the SCCM CB primary server using SQL database backup configuration manager configMgr.

  • Remove existing SCCM servers from the domain, ensuring you know local admin account details.
  • Shutdown existing SCCM servers
  • Rename existing SCCM servers in Vcenter or HyperV to .old
  • Rename the new SCCM server in Vcenter/HyperV to the existing SCCM server names
  • Delete existing SCCM servers from AD
  • Remove new SCCM/ConfigMgr servers from the domain and reboot, ensuring you have local admin account details.
  • Log onto new SCCM/ConfigMgr servers using the local admin account
  • Change IPs of new SCCM servers to reflect old SCCM server IP details
  • Change new SCCM server names to existing SCCM server names and reboot
  • Log on to new SCCM servers as the local admin account
  • Add new SCCM servers to the domain and reboot
  • Verify the OU, System Management Access, and AD membership information for the new SCCM/ConfigMgr servers. Reboot if you have made any changes above
  • Storage migrates any back-end storage in VMware/HyperV to ensure that vmdk files and vmx/VHDX files are named correctly.

How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr?

I have another three posts and videos related to SCCM Current Branch backup and recovery options. You can refer to those posts from here.

The SCCM CB standalone primary server should be installed from CD.Latest folder (p.s – this is because we are making a recovery of the server). I used the native SQL backup option from SQL Management Studio to back up the SQL DB.

Once the recovered server OS was up and running with all the prerequisites(ADK, WSUS, SQL), I restored the SQL DB using Management Studio from the SQL full backup file. The video tutorial below explains all these processes.

How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr - Fig. 1
How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr – Fig. 1

Also, note the “post-recovery” process in addition to removing and adding Intune subscriptions. It would be best to ensure that all the accounts configured in the SCCM ConfigMgr CB console are removed and added back.

If a hotfix is installed on the SCCM CB server, we must install it after the recovery Wizard is completed. During recovery, we must follow the following SCCM CB primary server prerequisites.

Prerequisites for the SCCM CB Primary Server
The hostname Should be the same
Drive Letters should be the same
The installation path should be the same
Should have the same patch level
Better to have the same IP: All the prerequisite apps should be installed: SQL Databased is already restored (manually)
How to Recover SCCM CB Primary Server Using SQL Database Backup Configuration Manager ConfigMgr – Table 1

Recover SCCM CB Primary Server Using SQL Database Backup

Here is the end-to-end recovery experience video. (1) How to Recover or restore SCCM CB Primary server using SQL Database Backup – YouTube.

Resources

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here. HTMD WhatsApp.

Author

Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is a Blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 7 comments

  1. My Site SCCM 2012R2 v 1902 content from 4 servers
    1- SCCMPRI which is Primary server
    2- SCCMDP which is Deployment Server
    3- SCCMDPII which is Distribution Point server
    4- SCCMSQL which SQL DB

    the problem that is my SCCMPRI compromise (you can say its Fail or corrupted) also the last Backup was after the server compromised
    i want recover my SCCMPRI without losing my 3 year work 🙁

    1. StaffI don’t known whether the prerequisites mentioned above was helpful or not. Here is it for you again
      Following are the prerequisites which we need to follow during the recovery process SCCM CB primary server :-
      Hostname Should be same :
      Drive Letters should be same :
      Installation Path should be same:
      Should have same patch level:
      Better to have the same IP:
      All the prerequisite apps should be installed:
      SQL Databased is already restored (manually):

      1. Hi, Thanks for the reply, highly appreciated. I have few questions.

        I already have healthy SQL database in a separate server, can i install SCCM primary server in a new server and connect this server to the current SQL database server.

      2. StaffHi, yes if all the prerequisites are in place for new primary server. You might need to perform restore options as explained the article.

  2. StaffYou might need to go through the end to end restore process as I explained …
    1.Take backup and remove the CM_PR1 DB (existing DB ) from SQL
    2. install new SCCM primary with new DB
    3. and then restore the old DB (existing DB which you removed)
    follow all the things explained in the video and other articles which I linked in the above post 🙂

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read