Professional Documents
Culture Documents
Your Name
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.
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
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
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
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
24 Microsoft Confidential
Module Review
1. What are some of the changes in Backup and Recovery in
the new edition of Configuration Manager?
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