How To Backup An SCCM Server: The Complete Enterprise Disaster Recovery Guide

How To Backup An SCCM Server: The Complete Enterprise Disaster Recovery Guide

How to Backup SCCM Server: A Complete Guide » Prajwal Desai

Restoring a Microsoft Endpoint Configuration Manager (SCCM) hierarchy depends on a dual-pronged backup strategy that captures both the SQL Server database and the site server's file system metadata. Executing the native Backup SMS Site Server maintenance task combined with automated SQL Server backups provides the exact recovery point objective (RPO) required to survive hardware failures or database corruption. This operational guide outlines the exact procedures, permissions, and validation steps necessary to establish a fully supported disaster recovery baseline.

Pre-Backup Architectural Requirements and Infrastructure Planning

Before executing any backup operations within Microsoft Endpoint Configuration Manager, you must design a storage topology and permission schema that accommodates the intensive write operations of the backup process. Attempting to back up an active production site server without preparing the target storage location or verifying administrative boundaries will lead to immediate job failures.



Administrative Baseline and Resource Allocation



  • Target Backup Storage: A dedicated, non-co-located storage volume or a high-availability network share. The storage location must have a capacity equal to at least 2.5 times the combined size of your site database (CM_SiteCode) and the SCCM installation directory (excluding the Content Library).
  • System Permissions: The SCCM Site Server computer account (such as DOMAIN\SERVERNAME$) must have Full Control NTFS permissions and Share permissions on the destination backup folder. The native Backup SMS Site Server service runs under the Local System context of the site server, meaning it presents the computer account's credentials over the network.
  • Prerequisite Knowledge: Complete familiarity with SQL Server Management Studio (SSMS), Windows Volume Shadow Copy Service (VSS) writers, and the SCCM inbox folder structure.
  • Duration and System Impact: Typically 30 to 90 minutes. Executing the backup places a high I/O load on both the SQL Server storage subsystem and the Site Server disk arrays. Schedule this process during standard off-peak maintenance windows.

Step-by-Step Configuration of Native SCCM and SQL Database Backups

The following steps define the process of configuring, running, and verifying a standard backup of an enterprise SCCM Primary Site Server.



Step 1: Configure Share and NTFS Security Permissions on the Backup Target

Because the backup is executed by the SMS_SITE_BACKUP service running under the local system context of the site server, standard domain administrator credentials are insufficient for the destination share.



  1. Create a folder on your remote backup storage server, for example: E:\SCCM_Backups\SiteBackup.
  2. Share the folder with a specific share name, such as SCCM_Backup$.
  3. Open the folder properties, navigate to the Sharing tab, and select Advanced Sharing.
  4. Click Permissions and add the Computer Account of the SCCM Primary Site Server. Grant it Full Control.
  5. Navigate to the Security tab, click Edit, and add the SCCM Primary Site Server Computer Account. Grant it Full Control at the NTFS file system level.
  6. If using a remote SQL Server topology, add the Computer Account of the remote SQL Server to both the Share and NTFS security permissions with Full Control.


Step 2: Enable and Configure the Native Backup SMS Site Server Maintenance Task

The native backup task is the only supported method for capturing the Site Control File, IIS configurations, registry hives, and the CD.Latest folder structures required for a site recovery.



  1. Open the Configuration Manager Console and navigate to the Administration workspace.
  2. Expand Site Configuration, select Sites, and click on your Primary Site.
  3. In the ribbon or context menu, click Site Maintenance.
  4. Select the Backup SMS Site Server task from the list and click Edit.
  5. Check the box to Enable this task.
  6. Click Set Paths and browse to the UNC path configured in Step 1 (for example, \BackupServer\SCCM_Backup$). Avoid using local drive paths (such as C:\Backup) unless you have an automated process to sweep those files to offline media immediately.
  7. Click Set Schedule to define the execution window. For production environments, configure this task to run weekly or daily during non-operational hours, such as Sunday at 02:00 AM.
  8. Click OK to save the configuration.


Step 3: Trigger the SMS_SITE_BACKUP Service Manually for Validation

Waiting for the scheduled task to run is not recommended for initial validation. You can trigger the backup process manually using Windows Service Control Manager or the Configuration Manager Service Manager.



  1. In the Configuration Manager Console, navigate to the Monitoring workspace.
  2. Expand System Status and select Component Status.
  3. In the ribbon, start the Configuration Manager Service Manager.
  4. Expand your site code, navigate to Components, and locate the SMS_SITE_BACKUP component.
  5. Right-click SMS_SITE_BACKUP, select Query to verify its current stopped status, then right-click again and select Start.
  6. Open Windows Services (services.msc) on the Site Server and confirm that the SMS_SITE_BACKUP service status changes to Running.


Step 4: Monitor Backup Execution and Review Log Files

The Configuration Manager console does not display real-time backup progress. You must monitor the raw log files to ensure success.



  1. Open CMTrace as an Administrator on your Primary Site Server.
  2. Navigate to the SCCM installation logs directory, typically located at C:\Program Files\Microsoft Configuration Manager\Logs.
  3. Open the file named smsbkup.log.
  4. Verify that the log displays "Backup started" followed by the creation of temporary SQL backup files.
  5. Monitor the log until you see the following operational entries: "Backup completed successfully" and "Removing temporary files".
  6. Navigate to your network backup target folder. Verify the existence of the newly created folder structure containing the CD.Latest folder, the site server registry keys, the Site Control File, and the SQL database backup files (.bak).


Step 5: Establish SQL Server Agent Backups for Remote Database Topologies

If your SCCM deployment utilizes a remote SQL Server instance, the native Backup SMS Site Server task will fail to backup the database directly. You must configure a parallel SQL Server backup plan to capture the database metadata.



  1. Open SQL Server Management Studio (SSMS) on your remote database server.
  2. Expand Management, right-click Maintenance Plans, and select Maintenance Plan Wizard.
  3. Name the plan "SCCM Database Backup" and configure it to run on a daily schedule that executes precisely two hours before or after your native SMS Site Server backup task.
  4. Select the Back Up Database (Full) task.
  5. Configure the task to target your primary site database (typically CM_SiteCode). Do not select "All databases" unless required by corporate policy, as this increases resource consumption.
  6. Set the backup destination to a dedicated disk array or the same remote network share configured in Step 1.
  7. Under the Options tab, configure Set backup compression to Compress backup to optimize storage consumption and reduce network transfer times.
  8. Complete the wizard, right-click the newly created job under SQL Server Agent > Jobs, and select Start Job at Step to verify successful execution.

SCCM 2012 How To Backup Your Server easily! - 7 IT & Security

SCCM 2012 How To Backup Your Server easily! - 7 IT & Security

SCCM Backup Methodologies and Architectural Comparison

Depending on your enterprise architecture, relying solely on native backup methods might conflict with virtualization standards. Below is a detailed comparison of the supported methods for securing an SCCM environment.



Metrics and Criteria Native Backup SMS Site Server Task SQL Server Maintenance Plans (SSMS) VM-Level Snapshots (VSS-Enabled)
Primary Components Captured Site database, CD.Latest folder, SMS registry keys, inbox definitions, site control files. SQL Database files (mdf, ldf) and transactional data logs only. Whole-disk image of operating system, configuration, and locally stored data.
SQL Co-location Requirement Best suited for co-located configurations. Fails to capture remote SQL databases without manual scripting. Works regardless of SQL location (local or remote clustered instances). Requires guest-level VSS Integration Services to freeze SQL operations during snapshotting.
Restore Complexity Low. The Configuration Manager Setup Wizard natively recognizes this backup folder structure. Medium. Requires manual database restore in SSMS prior to running SCCM Site Recovery. High. Can lead to Active Directory computer account trust issues and replication lag if restored incorrectly.
Network Storage Footprint Moderate. Captures only the logical files and database schemas needed for reconstitution. Low to Moderate. Highly efficient when SQL backup compression is enabled. Very High. Captures entire virtual disks, including unnecessary swap files and OS updates.
Recommended Enterprise Use Case Mandatory for all SCCM deployments as the baseline recovery point configuration. Highly recommended for remote SQL instances, high-availability clusters, and AlwaysOn availability groups. Recommended only as an auxiliary infrastructure backup, not as a primary SCCM recovery mechanism.

Troubleshooting Backup Failures and Restoring Operational Status

When executing or scheduling backups, environmental shifts, security updates, or service failures can interrupt the operation. The following scenarios represent the most common points of failure in an enterprise SCCM backup cycle.



Scenario 1: Native Backup Task Fails with Error Code 0x80070005 (Access Denied) in smsbkup.log



  • Root Cause: The SMS_SITE_BACKUP service running under the Site Server's computer account does not possess sufficient write privileges on the designated destination network share. This often occurs after domain controller migrations, security hardening sweeps, or when the backup target is migrated to new storage hardware.
  • Actionable Fix:

    1. Navigate to the network share path hosting the backups.
    2. Right-click the folder, choose Properties, and select the Sharing tab.
    3. Click Advanced Sharing, then click Permissions. Ensure that the account DOMAIN\SITESERVERNAME$ is present and explicitly granted Full Control.
    4. Switch to the Security tab. Click Advanced, then click Change Permissions. Verify that the DOMAIN\SITESERVERNAME$ computer account has Full Control inherited or applied directly to "This folder, subfolders, and files".
    5. If the issue persists, verify that no group policy object (GPO) restricts network access by computer accounts across domain boundaries.


Scenario 2: Volume Shadow Copy (VSS) Errors Prevent SQL Database Export



  • Root Cause: The Windows VSS subsystem fails to freeze the SQL database writer during the backup initialization phase. This is usually indicated by VSS events (Event ID 8229 or 12289) in the Windows Application Event Log.
  • Actionable Fix:

    1. Log in to the SQL Server hosting the SCCM database.
    2. Open an elevated Command Prompt or PowerShell window.
    3. Execute the command: vssadmin list writers
    4. Review the output for the entry named "SqlServerWriter". If the State is anything other than "Stable" (such as "Failed" or "Timed Out"), the SQL writer must be recycled.
    5. Restart the SQL Server VSS Writer service using the Services console or by executing the command: Restart-Service SQLWriter in PowerShell.
    6. Re-run the command: vssadmin list writers to ensure the writer is now in a stable state before manually starting the SMS_SITE_BACKUP task.


Scenario 3: SQL Transaction Log Fills up the Disk During Backup Operations



  • Root Cause: The database recovery model is set to "Full," and transaction log backups are either not configured or are executing too infrequently. When the native backup task runs a full export, the transaction log (ldf) expands rapidly, exhausting all available disk space on the SQL drive array.
  • Actionable Fix:

    1. Launch SQL Server Management Studio and connect to the database instance.
    2. Right-click the CM_SiteCode database and select Properties.
    3. Navigate to the Options page. If point-in-time recovery is not an enterprise operational requirement, change the Recovery Model from Full to Simple. This instructs SQL Server to reclaim log space automatically.
    4. If your organization mandates the Full recovery model, you must configure a SQL Server Agent job to perform a Transaction Log Backup (transaction log truncation) every 1 to 4 hours to prevent unchecked disk growth.
    5. To reclaim space immediately, right-click the database, select Tasks, then Shrink, then Files. Set the File type to Log and click OK to shrink the transaction log manually.

Frequently Asked Questions



How do I restore an SCCM server from backup?

To restore an SCCM server, you must run the Configuration Manager Setup Wizard (setup.exe) from the exact CD.Latest folder version captured in your backup. Launch the setup, select the option to Recover a Site, and provide the path to your valid Backup SMS Site Server target folder containing the database backup, site control files, and registry exports.



Can I use VM-level snapshots to backup my SCCM site server?

VM-level snapshots are supported only if they use a VSS-compatible guest tool to ensure transaction consistency. However, using snapshots as your exclusive recovery path is highly discouraged by Microsoft. It can cause database desynchronization with active clients, out-of-sync software update metadata, and replication errors with secondary sites or a Central Administration Site (CAS).



Where are the SCCM backup logs located?

The operational logging for the SCCM backup process is saved to a file named smsbkup.log. This log is located within the standard SCCM installation path, specifically under the folder C:\Program Files\Microsoft Configuration Manager\Logs. You can monitor this file using CMTrace to observe real-time status updates and error codes.



Should I backup the SCCM Content Library (SCCMContentLib) as part of this process?

No, the native Backup SMS Site Server task does not back up the Content Library. The Content Library should be excluded from standard daily backups due to its massive size. In a disaster recovery scenario, you can regenerate the contents of the library by redistributing software packages from original source paths or by allowing active distribution points to pull files back to the site server.



Does the SCCM backup capture the WSUS Database (SUSDB)?

The native backup task does not capture the WSUS Database (SUSDB) unless it is co-located on the same SQL instance and you have custom scripts configured to run during the backup window. However, because WSUS metadata can be completely resynchronized from Microsoft Update servers after a recovery, backing up SUSDB is considered optional and is not required for a successful site recovery.

Secure Your Infrastructure Against Enterprise Disasters

Ensure your environment remains protected by standardizing on a resilient, automated disaster recovery framework today. To validate your current recovery time objectives and audit your SCCM infrastructure against Microsoft best practices, schedule a comprehensive system health check with our enterprise systems engineering team.


Backup Configuration Files have no nginx webserver option - Webmin ...

Backup Configuration Files have no nginx webserver option - Webmin ...

Read also: Infusión de laurel: ¿Para qué sirve y cómo aprovechar sus beneficios medicinales?
close