You are on page 1of 20

System Center 2012 Configuration Manager

Concepts and Administration Workshop


Module 11: Backup and Recovery in System Center 2012
Configuration Manager

Your Name

Premier Field Engineer

Microsoft
Conditions and Terms of Use
Microsoft Confidential
This training package is proprietary and confidential, and is intended only for uses described in the training materials. Content and software
is provided to you under a Non-Disclosure Agreement and cannot be distributed. Copying or disclosing all or any portion of the content
and/or software included in such packages is strictly prohibited.
The contents of this package are for informational and training purposes only and are provided "as is" without warranty of any kind, whether
express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-
infringement.
Training package content, including URLs and other Internet Web site references, is subject to change without notice. Because Microsoft
must respond to changing market conditions, the content should not be interpreted to be a commitment on the part of Microsoft, and
Microsoft cannot guarantee the accuracy of any information presented after the date of publication. Unless otherwise noted, the companies,
organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association
with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.

Copyright and Trademarks


© 2012 Microsoft Corporation. All rights reserved.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this
document. Except as expressly provided in written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this
document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic,
mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
For more information, see Use of Microsoft Copyrighted Content at
http://www.microsoft.com/about/legal/permissions/
Microsoft®, Internet Explorer®, and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the United States
and/or other countries. Other Microsoft products mentioned herein may be either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries. All other trademarks are property of their respective owners.
Overview
Understanding the Backup feature
What gets backed up
Additional tasks in backing up a Configuration Manager
environment
WSUS
Reporting Services
Understanding the recovery methods
Leveraging SQL Replication
Configuration Manager recovery scenarios

3
Objective
Upon completing this module, you will:
Know how to backup your Configuration Manager environment
Understand additional data to backup as part of your Configuration
Manager backup plan
Understand SQL Server change tracking process
Be able to plan your Configuration Manager environment backup
and recovery

4
Backup and Recovery
Backup task
Generally the same tasks from Configuration Manager 2007
Changes:
Maintenance task location differs in Configuration Manager
NAL Registry key backup is no longer performed
Site Control file in the hierarchy is no longer necessary
Scheduling, SmsBkup.ctl file and AfterBackup.bat remain the same
Site Recovery
Recovery from the install media and/or setup wizard
Granular level of recovery
Leverage SQL Server Service Broker Replication

5
Backup Site Server Maintenance Task
Task Menu location

7 Microsoft Confidential
Backup Task
Backup task settings
Primarily the same as Configuration Manager 2007
Scheduling
Backup path

Backup path rights


Local paths
The Local System account on the site server must
have write NTFS permissions to the local folder for
the site server backup.
The Local System account on the computer running
SQL Server must have write NTFS permissions to the
folder for the site database backup.
UNC Paths
The site server computer account must have write
NTFS and share permissions to the shared network
folder.

8 Microsoft Confidential
Backup Task (continue)
SmsBkup.ctl
Defines the content location of files to be backed up
You can additionally define specific files and folders to be backed
up as part of the Configuration Manager backup task
AfterBackup.bat
An additional batch file you can create to run subsequent the
Configuration Manager Backup task
The Backup task will look to see if the file exists
If Yes, the batch file will run
If No, the backup task will complete
AfterBackup.bat is often used to maintain generational backup files
since each time the Backup maintenance task runs, it will overwrite
the existing data with the new backup data

9 Microsoft Confidential
Additional Considerations for Backup
Scheduling
Consider a backup schedule that is outside of active working hours
In a hierarchy, consider schedules that run at least twice a week to
ensure maximum data retention in the event of site failure
Timing Issues
When setting up the Backup task locally from the console, the
Backup maintenance task will use the local time of the
Configuration Manager site server
When setting up the Backup task remotely from a remote console,
the Backup maintenance task will use UTC

11 Microsoft Confidential
Additional Considerations for Backup (continued)
WSUS Backup
Reference: http://technet.microsoft.com/en-us/library/dd939904(WS.10).aspx
Reference: http://technet.microsoft.com/en-us/library/cc720441(WS.10).aspx

SQL Server Reporting Server (SSRS) backup


Reference: http://support.microsoft.com/kb/842425
Reference: http://msdn.microsoft.com/en-us/library/ms155814.aspx

Backup System Center Updates Publisher (SCUP) 2012 database


On the computer that runs Updates Publisher, browse the Updates Publisher 2012 database
file (Scupdb.sdf)
%USERPROFILE%\AppData\Local\Microsoft\System Center Updates Publisher 2012\5.00.1727.0000\
There is a different database file for each user that runs Updates Publisher 2012
Copy the database file to your backup destination

Backup Content Files


Backing up the Content Library

12 Microsoft Confidential
Checking the Success/Failure of the Backup task
Check the target share in which the backup is created, and
check the time stamps to see that it contains the current
files
Check
Event Log ID theMessage
Application Event logs
SMS Site Backup task is starting. This task will interact with the windows VSS services and the appropriate writers to
Event ID 5505
create a volume snapshot and then back up the required files to the specified destination.
Event ID 6829 SMS Writer is about to stop the SMS Services as part of the preparation of the SMS Site backup
I/O is frozen on database SMS_<site code>. No user action is required. However, if I/O is not resumed promptly, you
Event ID 3197
could cancel backup.
Event ID 3198 I/O was resumed on database SMS_<site code>. No user action is required.
Event ID 18264 Database backed up.
Component SMS_SITE_VSS_WRITER on computer <site server> reported: the snapshots of the volumes required for the
Event ID 6830
SMS backup have been successfully created.
Event ID 6831 SMS Writer has started the SMS Services successfully
Event ID 5056 SMS Site Backup is starting to copy the files from the snapshot.
Event ID 5057 SMS Site Backup has successfully completed copying the files from the snapshot.
Event ID 6833 SMS backup task has completed successfully

Check the smsbkup.log file


16 Microsoft Confidential
Site Recovery
Site recovery is executed
using two methods:
Recovering a site from the
backup data
Reinstalling the site
Site recovery in
Configuration Manager is
initiated from the
Configuration Manager
setup

17
Site Database Recovery
Part of the recovery process allows you an option to recover the site
database in several manners:
By recovering the site database using the backup files created by the backup task
By creating a new database, where the database will replicate data from:
The CAS (when recovering a Primary Site)
The reference Primary Site (when recovering the CAS)

You also have the option to use a database that has been manually recovered,
meaning the database is already recovered, but you still need to conduct the rest
of the recovery process

18 Microsoft Confidential
SQL Server Change Tracking
Queries for changes made within the database tables since
the previous point in time
5 days of data retention by default which cannot be changed
If the SQL Server backup data you recover is within the
retention period, the database will commit any changes
that have taken place as part of the backup process

20 Microsoft Confidential
Site Database Recovery Scenario
After a site database is restored from a backup, Configuration Manager
attempts to restore the changes in site and global data since the last
database backup
The following table provides the actions that Configuration Manager
initiates after a site database is restored from backup
Database Backup Within Change Tracking Retention Period Database Backup Older Than Change Tracking Retention Period
Recovered Site Global Data Site Data Global Data Site Data
The central administration site
The central administration site
reinitializes the site data from
The changes in global data reinitializes the site data from the
The primary site reinitializes the the primary site. Changes since
since the backup are primary site. Changes since the
Primary Site global data from the central the backup are lost, but most
replicated from the central backup are lost, but most data is
administration site. data is regenerated by clients
administration site. regenerated by clients that send
that send information to the
information to the primary site.
primary site.
The central administration site
reinitializes the global data from the
reference primary site, if specified.
The changes in global data Then all other primary sites
The changes in site data since the The central administration site
Central since the backup are reinitialize the global data from the
backup are replicated from all reinitializes the site data from
administration site replicated from all primary central administration site. If no
primary sites. each primary site.
sites. reference site is specified, all primary
sites reinitialize the global data from
the central administration site (the
data that was restored from backup).

21 Microsoft Confidential
Site Database Recovery Scenario - CAS

22 Microsoft Confidential
Site Database Recovery Scenario - Primary

23 Microsoft Confidential
Unattended Recovery
By creating an unattended installation script, you can opt
to perform an unattended site recovery
The unattended installation is initiated by using the /script
option in the setup command-line

Example: setup /script c:\setup\setup.ini

The process is supported for both CAS and Primary site


recoveries

24 Microsoft Confidential
Module Review
1. What are some of the changes in Backup and Recovery in
the new edition of Configuration Manager?

2. What are some Site Server and Database Recovery


options?

3. What are some of the steps to preform and unattended


recovery?

25 Microsoft Confidential
Module Summary
In this module you learned:
How to backup your Configuration Manager environment
Additional data to backup as part of your Configuration
Manager backup, on a needs basis
A basic understanding of SQL Server change tracking
process
How to plan your Configuration Manager environment
backup and recovery

26 Microsoft Confidential

You might also like