Advertisements
Latest Posts

Configure Email Notification for SCCM 2012 Backup Status


In this Post, I have mentioned how to configure SCCM 2012 Backup and send the Status Report via Email.

FYI –  By default, Backup Site Maintenance task backs up the site database and specific registry keys, and specific folders for a site.

To Enable Site Backup configuration in SCCM console. Click  Administration Workspace -> Site Configuration -> Sites and select the Site which you need to configure Backup task.On the HOME tab, Select Site Maintenance.

1

In the Site Maintenance Wizard, Select Backup Site Server and Click Edit.

2

 

Select Enable this task and then you need to choose the destination path to store the backup files and Click OK.

Configure the schedule as per your requirement and click OK.

3

 

Once the Site Backup task runs successfully on the defined schedule, You can see the backed up files under F:\SCCM_2012_Backup\Daily\Backup.

4

 

 

 

 

 

 

 

The backedup data files are :

Site database files:

  1. SiteDBServer\<Sitedatabase>.mdf
  2. SiteDBServer\<Sitedatabase>.ldf

 Site Server installed binaries and Registry key:

  • SiteServer\SMSServer\data
  • SiteServer\SMSServer\inboxes
  • SiteServer\SMSServer\logs
  • SiteServer\SMSServer\srvacct
  • SiteServer\ConfigMgrAdminUISetup.log
  • SiteServer\SMSbkSiteRegSMS.dat
  • BackupDocument.xml (backup metadata)
  • ConfigMgrBackup.ini
  • Smsbkup.log

After the backing up the site, the Backup Site Server task automatically attempts to run a file that is named AfterBackup.bat which is located under <ConfigMgrInstallationFolder>\Inboxes\Smsbkup and this bat file achieves a backup snapshot.

Note : You  need to manually create AfterBackup.bat in the above location.

(Ref link http://smsug.ca/blogs/garth_jones/archive/2011/01/13/afterbackup-bat.aspx).

 

To Send notification mail with the Backup status

  1. Download the Vbs file from the below link and place it under backup location (F:\SCCM_2012_Backup)

One Drive link : http://1drv.ms/1N9wwdc 

2. Only thing you need to edit in this vbs file is From Email address & To email address

3. Configure the schedule task on Windows Server by targeting the vbs file to get the backup status on everyday.

Ref  link : http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2011/09/13/how-to-run-task-scheduler-on-windows-2008-amp-apply-password-expiration.aspx

4. You will get an email with Site Backup Status report in the attachment looks like below.

5

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s