Your SlideShare is downloading. ×

[Tech.Ed India 2011] Backup and Restore SharePoint 2010

2,927

Published on

My session slides from Tech.Ed India 2011, SharePoint 2010 Backup and Restore Session.

My session slides from Tech.Ed India 2011, SharePoint 2010 Backup and Restore Session.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,927
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • PlanningRecovering ContentSharePoint ComponentsTools available to backup and restoreBackup and Restore OperationsRecovering From A DisasterBest Practices
  • You can use the built in backup tools in CA in SharePoint 2010 to back up a farm up to 200GB in size. It supports full and differential and can be used to restore an entire farm.
  • Granular backup of SharePoint 2010, previously available only from the STSADM command-line tool, is now available from within the GUI.
  • At the time when this chapter was written, Microsoft’s TechNet site included a specificnote stating that site collection backups did not include workflow information. This note isincorrect. Backups that are performed with the site collection backup approach are full-fidelityand contain all workflow information, including workflow history and workflow state. Thenote was originally intended as a warning for exports that are performed with granular exportoperations through types within the Content Deployment API, not site collection backups.Slower then Content Database Backups
  • [twitter]#SharePoint 2010 Management Shell – gives additional options for backup/restore – compression/sql snapshots [/twitter][twitter]Permissions required to run PowerShell – member of the admin group on the server running Central Admin[/twitter]
  • Versions – last major, current version, last major and minor, all
  • Can use –UseSqlsnapshot for Export-SPWeb
  • Backup Server:81/Sites/Demo
  • Transcript

    • 1. SharePoint 2010 – Backup and Restore
      Alpesh Nakar
    • 2. About Me
      Native of Mumbai, India | Based on Brisbane, Australia
      Owner / Director - Just SharePoint Consulting | Training - Online and Onsite
      SharePoint Evangelist
      Contributing Author – Microsoft SharePoint 2010 Unleashed
      Blog http://alpesh.nakars.com
      SharePoint Resource Centre http://justsharepoint.com
      SharePoint Community URL Shortening Service http://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 DatabasesSharePoint 2010 Databases (Part I)
    • 9. Understanding the SP2010 DatabasesSharePoint 2010 Databases (Part II)
    • 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
    • 22. PowerShell - Farm Configuration Backup
      Farm Configuration Only Backup
      backup-spfarm –backupMethod full –directory servernameSP2010Backup -configurationonly
      Complete Farm Backup
      backup-spfarm –backupmethod full – directory servernameSP2010Backup
      Backup-SPFarm specific parameters
      -BackupMethod
      -BackupThreads
    • 23. PowerShell - Configuration DB Backup
      Configuration Database Backup
      backup-spconfigurationdatabase –directory servernamesp2010backup –databaseserver server –databasenamemss_configdb
      Backup Farm Configuration Information
      Information Rights Management
      Workflow
      Diagnostic logging
      Customizations [solutions deployed]
      Outbound e-mail configuration
      Antivirus settings
    • 24. PowerShell – Site Collection Backup
      Backup Site Collection
      backup-spsite–Identity http://justsharepoint.com/Sites/demo -Path servernamesp2010backupdemosc.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 serversp2010backupslocationlist.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. Export a ListMerge a List
      DEMO
    • 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. DEMO
      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
      DocAveAvePoint Backup for Microsoft Office SharePoint Products and Technologies
    • 36. Questions?
    • 37. Resources
      Software Application Developers
      http://msdn.microsoft.com/
      Infrastructure Professionals
      http://technet.microsoft.com/
      technetindia
      msdnindia
      @technetindia
      @msdnindia
    • 38. © 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.

    ×