Business Continuity Management

41
Business Continuity Management

description

Business Continuity Management. About Me…. Rick Taylor, MCSE, MCT Principal Architect for Summit 7 Systems http://www.summit7systems.com [email protected] Former SharePoint Engineer with Microsoft Business Productivity Online Services – (SharePoint Online) - PowerPoint PPT Presentation

Transcript of Business Continuity Management

Page 1: Business Continuity Management

Business Continuity Management

Page 2: Business Continuity Management

About Me…• Rick Taylor, MCSE, MCT

– Principal Architect for Summit 7 Systems – http://www.summit7systems.com– [email protected]– Former SharePoint Engineer with Microsoft Business Productivity

Online Services – (SharePoint Online)– Contributing author on MS Press MOSS 2007

Administrator’s Companion– Principal author of MS Press SharePoint 2010 Administrator’s

Companion

Page 3: Business Continuity Management

AgendaNew featuresSite deletionsBackup/restoreAvailability within a farmDisaster recovery across farmsMinimal downtime during patching

Page 4: Business Continuity Management

What’s New in 2010Improved site deletion logicConfiguration settings backup supportOperations previously only available via command line now supported in the user interfaceUnattached Content Database RestoreSnapshot support (Microsoft SQL Server)Read-only environments

Page 5: Business Continuity Management

Site Delete

Page 6: Business Continuity Management

Site DeleteImproved site deletion logic

Minimizes blockingSite is deleted from SiteMapA GUID referencing that site is instantiated in a new tableTimer Job performs background, chunk-based deletion

Page 7: Business Continuity Management

Backup and Restore Using Central Admin

Page 8: Business Continuity Management

Backup - FarmInitiates a SQL backup of each service and content databaseConfig settings are written to an xml fileSearch does some additional actions

Page 9: Business Continuity Management

Farm Backup Solutions

Page 10: Business Continuity Management

Backup – Config SettingsThe configuration settings are written to an xml file, and backed up with file server backup.

Page 11: Business Continuity Management

Restore – Farm or ConfigInstantiate a new farm with the same topology as the original farmExecute STSADM (restore) or PowerShell (restore-spfarm) with the –configurationonly flagDeploy customizations as requiredOnce you have started your farm, in Central Administration

Activate any featuresPerform a farm restore *IF* you are not just restoring config only

Page 12: Business Continuity Management

Config Backup Solutions

Page 13: Business Continuity Management

Backup – Content DBWhen you backup a web application or single content database, SharePoint starts a SQL Server backup of each content database

Page 14: Business Continuity Management

Restore – Content DBRestore with a new name

-OR-Restore database and overwrite

Page 15: Business Continuity Management

Content DB Backup Solutions

Page 16: Business Continuity Management

Backup - SearchBackup takes place in two sequential phases

Phase 1Index merges are prevented from happening, crawling can still continue at this pointIndexes are copied from one query server per index partitionAll search databases are backed up

Phase 2Crawls are pausedAny changes to the indexes since phase 1 are copiedAny changes to the search databases since phase 1 are backed upCrawls and merges are resumed

Page 17: Business Continuity Management

Restore - SearchIf restoring to existing Search Service App (overwrite)

All search components are unprovisioned (crawl/query stops working)Indexes are restoredDatabases are restoredCrwls and merges are resumedIf this is a restore from an earlier build, upgrade is run (i.e. backup from RTM, restoring to SP1)

If restoring to a new Search Service AppExisting Search Service Application continues to workIndexes are restoredDatabases are restoredCrawls and merges are resumedIf this is a restore from an earlier build, upgrade is run

Page 18: Business Continuity Management

Search Backup Solutions

Page 19: Business Continuity Management

Backup – Service AppsIf the service applications has an associated databases(s)

SharePoint starts a SQL Server backup of the database(s)

SharePoint starts a backup of the service config

Page 20: Business Continuity Management

Restore – Service AppsIf restoring to existing service application (overwrite)

Existing service app is unprovisionedOtherwise, existing service app continues to work

Databases, if any, are restoredConfig is restoredService is started

Page 21: Business Continuity Management

Service App Backup Solutions

Page 22: Business Continuity Management

What’s Included in Service Application Backups…

NOTE: Session state is not included in any backup

Page 23: Business Continuity Management

Service App Backup Solutions

NOTE: Session state is not included in any backup

Page 24: Business Continuity Management

Backup – Site CollectionSharePoint does backup by performing one or two SQL SELECT statements to collect data, then writing data to file

Optional – Use PowerShell with the UseSqlSnapshot parameter. It creates a snapshot and exports the site collections from the snapshot. It then deletes the snapshot when it’s done.NOTE: Requires a version of SQL Server that supports snapshots (ENTERPRISE)

Page 25: Business Continuity Management

Restore – Site CollectionRestore from an unattached content database

Do a site collection backup from the unattached content db

Use PowerShell or STSADM to restore the site collection from backup

PowerShell: restore-spsite

Page 26: Business Continuity Management

Backup – Site or ListNow possible from within Central AdminSharePoint exports the identified site or list by performing multiple SQL SELECT statements to collect data, then writing data to a package

Optional: Use PowerShell (export-SPWeb) with the UseSqlSnapshot parameter

Page 27: Business Continuity Management

Restore – Site or ListRestore from an unattached content database

Export a site or listUse PowerShell to restore the site or list (import-SPWeb)

Page 28: Business Continuity Management

Backup HistoryProvides execution time, warning and error counts

Page 29: Business Continuity Management

Unattached Content Database Restore

Granular restore and content browsing of “offline” database

Browse contentExplore site collection content

Backup site collectionBacks up to File System as .bak

Export site or listExports to File System as .cmp artifactCan include Security and Versions

Mitigates requirements to support expensive dedicated restore environments

Page 30: Business Continuity Management

Restore from Unattached Content Database

Using PowerShellUse Restore-SPSite for site collection

Restore-SPSite http://<server>/sites/site –path \\<share>\site.bak -overwrite

Use Import –SPWeb for site or ListImport –SPWeb http://<server>/sites/site/web –path \\<share>\web1.cmp -includeusersecurity

Page 31: Business Continuity Management

Recovery ScenariosBackups can be performed to support many recovery scenarios. Common scenarios include

Recreate a farm on new hardware, or in a different location, assuming that no parts of the original farm are available. (Disaster recovery)Create a new farm based on existing farm’s configuration and backupsCreate backups to support highly-available farmsArchive versions of a siteUse unattached databases to recover site collections, sites or lists

Page 32: Business Continuity Management

High Availability

Page 33: Business Continuity Management

Database Mirroring SupportProvides support for database mirroring

Adds failover partner to ADO.NET connection stringDoes not implement the mirroring sessions

UI entry pointsAny place you add a new database you can put the failover server name

PowerShellAll databases, including configuration database

Configurable through APISPDatabase

AddFailoverServiceInstance (method, string)FailoverServiceInstance (property, SPServer)

Page 34: Business Continuity Management

User Interface Support

Page 35: Business Continuity Management

Object Model Support (C#)

Page 36: Business Continuity Management

PowerShell Support

Page 37: Business Continuity Management

Disaster Recovery

Page 38: Business Continuity Management

Read-Only ModeRead-only mode introduced in SharePoint 2007 SP2

Hides parts of UI that aren’t applicable in read only mode

Read-only support provided forContent databasesService Applications

Make it read only in SQLContent databases can set the IsReadOnly SPDatabase property programmatically

Page 39: Business Continuity Management

SummarySeveral new and extended features in SharePoint 2010 to support BCMReduced blocking for site deletionConfiguration-only backup and restoreExport sites and lists from central adminUsed unattached content databases for restoreUse SQL snapshots during backupUI trimmed for read-only environments

Page 40: Business Continuity Management

CalendarPhoenix SharePoint Users Group Meeting

Fourth Thursday of every monthJobing.com building

4747 N. 22nd St. Phoenix, AZ 85016 http://www.azsharepointpros.com

SharePoint Best Practices ConferenceAugust 24-27, 2010

Hyatt Regency Reston, VAhttp://www.bestpracticesconference.com

                                        

Page 41: Business Continuity Management