Presentation is loading. Please wait.

Presentation is loading. Please wait.

SharePoint 2010 – Backup and Restore Alpesh Nakar.

Similar presentations


Presentation on theme: "SharePoint 2010 – Backup and Restore Alpesh Nakar."— Presentation transcript:

1 SharePoint 2010 – Backup and Restore Alpesh Nakar

2 About Me Owner / Director - Just SharePoint Consulting | Training - Online and Onsite Native of Mumbai, India | Based on Brisbane, Australia SharePoint Evangelist Contributing Author – Microsoft SharePoint 2010 Unleashed Blog http://alpesh.nakars.comhttp://alpesh.nakars.com SharePoint Resource Centre http://justsharepoint.comhttp://justsharepoint.com SharePoint Community URL Shortening Service http://mysp.inhttp://mysp.in

3 Agenda Business Continuity Plan Recovering Content SharePoint Components To Backup Tools to Backup and Restore Backup and Restore Operations Recovering From A Disaster Best Practices

4 Business Continuity Plan Business Requirements –RPO, RTO Recovery Needs –What’s not enough and what do you need to recover Tools Required

5 Recovering Content Item level recovery At Site Collection or Site level Two options –Versioning –Recycle Bin Eliminate the need for third-party Recover deleted items easily Reduce overheads

6 BACKUP CRITICAL SHAREPOINT COMPONENTS

7 What are the Critical SharePoint 2010 Components? SharePoint Databases –Config Database (typically excluded) –Content Database(s) –Services Databases IIS Configuration Web.config files in \inetpub directory Web part assemblies in %systemroot%\assembly Any custom templates

8 Understanding the SP2010 Databases SharePoint 2010 Databases (Part I) Stores farm configuration data Mostly unchanged from 2007 ConfigDB Config Used to store documents, sites, lists, etc. Mostly unchanged from 2007, Central Admin also has Content DB Content Used by Usage and Health Data Collection Service Temporarily stores health monitoring and usage data for use in reports Logging Created for the Search Service, 2007 equivalent was SSP DB One Admin DB created per Search application Administration Also used for Search Service Stores crawled properties Property Also used for Search Service, 2007 equivalent was Search DB Drives crawl component, hosts crawled data Crawl Used by Web Analytics Service to analyze traffic Stores fact data, queued batch data, and asset metadata Staging Also used by Web Analytics Service Stores report data, diagnostics info, etc. Reporting

9 Understanding the SP2010 Databases SharePoint 2010 Databases (Part II) Used by Managed Metadata Service Stores Managed Metadata for use data layer Term Store Used by the State Service Stores temporary state info for InfoPath Forms Services State Part of the User Profile Service Stores user and associated information Profile Used by User Profile Service Stores Configuration and Staging Data for Prof Sync Synchronization Also used by User Profile Service Stores social tags and notes from users Social Tagging Used by Business Connectivity Service to store external objects BCS Used by Secure Store Service to map credentials Replaces SSO DB in 2007, can be used by ERP/DRM Systems Store Not a SharePoint Database, but included in this list as it is critical to SP Highly critical for performance! Do not underestimate! tempDB Other Services Databases (Others)

10 Tools To Backup Two-stage Recycle Bin SharePoint Central Admin Tool PowerShell IISBack.vbs SQL 2005/2008 Tools (Maintenance Plan) Microsoft System Center Data Protection Manager (DPM) 2007/2010 Third-party (Quest, Metalogix, AvePoint)

11 BACKUP WITH THE SHAREPOINT 2010 CENTRAL ADMINISTRATION SITE

12 What does the Central Admin Backup Tool do? Full fidelity backups of all SharePoint content and indexes Backs up all SharePoint databases except Config DB, which is not needed. Similar to SQL level backup, except can be more granular at the Web Application level SP2010 now has status indicators SP2010 now allows for Site Collection Backup from Central Admin

13 SHAREPOINT 2010: CENTRAL ADMINISTRATION

14 Disadvantages of Central Admin Backup Tool Not automated If XML catalog is damaged, entire backup can be at risk No item-level restore capabilities Not enterprise level

15 Farm Backup Cannot be scheduled Not rely on SQL DBA for backups Full or differential Backup Components Only 1 Component at a time – e.g. Web Application Configuration Only backup Backup Location Backup to tape not possible

16 Granular Backup/Restore New in SharePoint 2010 –Granular Backup/Restore From Central Administration Site Collection Backup Export a site or list Recover data from an unattached content database –Granular Backup Job Status indicators Granular restore operations only using PowerShell

17 Site Collection Backup Full Fidelity Backup Largest of the Granular Backups Fastest of the Granular Backups Performance Load Read-Only Lock

18 Export Site / List Exporting List – Max Level of Granular Backup Option to include security permissions set Option to include versions Processor intensive Move Operations

19 USING SHAREPOINT 2010 MANAGEMENT SHELL FOR BACKUP & RESTORE

20 PowerShell Backup in SP2010 PowerShell can be used to automate Backups –Backup-SPConfigurationDatabase –Backup-SPFarm –Backup-SPSite Equivalent to Central Admin or STSADM Can pipe out results and backup multiple site collections, etc.

21 PowerShell Backup & Restore CMDLETS CmdletSharePoint Component Backup-SPFarmEntire Farm Service Applications Web Applications Content Databases Restore-SPFarmEntire Farm Farm Configuration Only Service Applications Web Applcations Content Databases Backup-SPConfigurationDatabaseFarm Configuration Only Backup-SPSite / Restore-SPSiteSite Collection Export-SPWeb / Import-SPWebSites Subsites Libraries Lists

22 PowerShell - Farm Configuration Backup Farm Configuration Only Backup backup-spfarm –backupMethod full –directory \\servername\SP2010Backup -configurationonly Complete Farm Backup backup-spfarm –backupmethod full – directory \\servername\SP2010Backup Backup-SPFarm specific parameters -BackupMethod -BackupThreads

23 PowerShell - Configuration DB Backup Configuration Database Backup backup-spconfigurationdatabase –directory \\servername\\sp2010backup –databaseserver server – databasename mss_configdb Backup Farm Configuration Information –I–Information Rights Management –W–Workflow –D–Diagnostic logging –C–Customizations [solutions deployed] –O–Outbound e-mail configuration –A–Antivirus settings

24 PowerShell – Site Collection Backup Backup Site Collection backup-spsite –Identity http://justsharepoint.com/Sites/demo -Path \\servername\sp2010backup\demosc.bak -Force Other Parameters – -NoSiteLock – use with caution, possible data corruption -UseSQLSnapshot – use content database snapshot when doing a backup Can be run multiple times and/or scripted to automate backups Extremely useful approach to backing up WSS Site collections and personal sites

25 PowerShell – Export Site / List You cannot export a site, library, list with SQL Server or DPM Export-SPWeb –Identity http://justsharepoint.com/sites/demo/ -path \\server\sp2010backups\locationlist.bak - itemurl “location” –force Option to include user security and versions

26 PowerShell - Import Site/List You cannot import a site or a list from SharePoint 2010 Central Administration site PowerShell or STSADM is your only option Site Definition Matching Content Merging

27 Unattached Content Databases New feature of SharePoint 2010 Granular restores of SharePoint content Read-only content databases Restored SharePoint content databases Content database snapshots Restore Site Collections, Sites, Libraries and Lists

28 DEMO Recover from Unattached Content Database

29 DEMO Export a List Merge a List

30 Using SQL Snapshots New to SharePoint 2010 Use of native SQL Server database snapshots Read-only copy of a database Used primarily with site collection backup –Prevents read-only locks Supported only in Enterprise of SQL Server

31 SHAREPOINT SITE COLLECTION BACKUP USING SQL SNAPSHOT

32 Read Only Database New to SharePoint 2010 Set from SQL Server Prevent changes to SharePoint content database Blanket read only for all, including SharePoint Administrators

33 READ ONLY DATABASE

34 What are the Critical SharePoint 2010 Components? SharePoint Databases –Config Database –Content Database(s) –Service Application Databases IIS Configuration Web.config files in \inetpub directory Web part assemblies in %systemroot%\assembly [GAC] Any custom templates SharePoint Root [ The 14 HIVE] Virtual Directories

35 Third-party Backup Solutions Metalogix Selective Restore Manager Quest Recovery Manager for SharePoint DocAve AvePoint Backup for Microsoft Office SharePoint Products and Technologies

36 Questions?

37 © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

38 Resources Software Application Developers http://msdn.microsoft.com/ Infrastructure Professionals http://technet.microsoft.com/ msdnindia technetindia @msdnindia @technetindia

39 © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "SharePoint 2010 – Backup and Restore Alpesh Nakar."

Similar presentations


Ads by Google