Set the backup
Launch the SCCM 2012 R2 console, click on Administration, expand Overview, expand Site Configuration then click on Sites and on the right pane click on your primary site, finally click on Site Maintenance found On the top ribbon bar.
Site Maintenance window will open up. Find and click on “Backup Site Server“ by default this is not enabled, right click on the task and click Edit.
Backup Site Server Properties window will open, click Enable this task, now to set the backup location, click Set Paths and set the path where you want to place the backup files of SCCM 2012 R2 server.
Now to set the backup Schedule, change this to suit your needs. Check the box Enable alerts for backup task failures. Click Apply and OK.
Check its working
Best way to check the backup is working is to force a manual backup, this is also useful to know incase you need to backup SCCM immediately for any reason.
RDP onto the SCCM server, click on start and type run, then type services.msc press enter. With services open look for the service named “SMS_SITE_BACKUP”, right click the service and click Start.
The backup task has started and is being processed in the background. To check and make sure the backup is working fully we would need to open the log file smsbkup.log, this is located under the path %ProgramFiles%\Microsoft Configuration Manager\Logs. If smsbkup.log is missing check to make sure the service has started and without problems.
After few seconds we see that the backup has been completed successfully. Look through the logs, the main points are: “backup location” check to make sure this is correct and didn’t have any sort of permission problems… then lastly look for “Backup completed”. After the backup task is completed the SMS_SITE_BACKUP service will stop automatically.
Let’s open the backup folder and see what’s inside it. We see 2 folders SiteDBServer and SiteServer which contains database files and SCCM folders (inboxes, Logs, Data etc)