What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen


Published on

My session from SP Saturday CPH about how new features in SharePoint 2010 can change your approach to backup and recovery.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen

  1. 1. SharePoint 2010Backup and Recovery<br />How new features may change your backup and recovery strategies<br />Ilia Sotnikov<br />Product Manager @ Quest Software<br />ilia@sharepoint-recovery.com<br />http://blog.sharepoint-recovery.com<br />@IliaSotnikov<br />
  2. 2. Who am I?<br />Product Manager at Quest Software<br />St.Petersburg Russia<br />Background<br />10 years in technology, ~7 years with Quest Software<br />Technical writing, support escalations, R&D program manager<br />Migration and management solutions for Microsoft collaboration platforms: Exchange, SharePoint<br />
  3. 3. Agenda<br />What is and what is not in your backup<br />New features you heard of: what do they really mean?<br />Granular backup from Central Administration<br />Unattached database recovery<br />Configuration only backup<br />Hidden gem – what you don’t see in UI<br />PowerShell<br />Not necessarily backup features, but…<br />Remote BLOB Storage<br />Service Applications<br />
  4. 4. Before we begin…<br />
  5. 5. What’s in a backup?<br />All databases<br />Including configuration database<br />Index files<br />Web apps configuration<br />Service apps configuration<br />IIS settings made via Central Admin or SharePoint API<br />IIS websites and settings are stored in config db<br />Customizations deployed as solutions<br />WSP files are stored in config db<br />
  6. 6. What’s not in a backup?<br />Specific IIS settings:<br />HTTP compression settings<br />Time-out settings<br />Custom Internet Server Application Programming Interface (ISAPI) filters<br />Internet Protocol security (IPsec) settings<br />Network Load Balancing settings<br />Secure Sockets Layer (SSL) certificates<br />Dedicated IP address settings<br />Direct changes to web.config<br />Customizations not deployed as solutions<br />Claims/Forms Based Authentication <br />Membership and role providers in Web.config<br />
  7. 7. Central Admin – First Glance<br />
  8. 8. What you can do from Central Admin<br />Backup:<br />Farm backup<br />Site collection backup<br />Site/list export<br />Unattached database recovery<br />Restore:<br />Farm restore<br />Hold on, is something wrong here?<br /><ul><li>Where are site collection restore and site import?
  9. 9. PowerShell
  10. 10. Why is unattached database recovery in the backup group?
  11. 11. Great question! Let’s take a closer look</li></li></ul><li>Unattached database recovery <br />No longer need recovery farm for list/site restore<br />BUT unattached content database recovery is not recovery<br />Site collection backup<br />Site or list export<br />Allows to create site collection backup, export site or list from a SharePoint content database that is not attached to any web application<br />DB can originate from the same or different farm – be aware of SharePoint patch level<br />Use PowerShell to import the resulting CMP<br />Import-SPWeb -Identity <Site URL> -Path <Export file name><br />
  12. 12. Unattached database recovery<br />Steps for unattached database recovery:<br />Find the backup file<br />Restore content database to temporary SQL location<br />“Recover data from an unattached content database” in Central Administration<br />Type the SQL Instance and temporary database names<br />Select site collection, site and list to export<br />SharePoint Management Shell<br />Import-SPWebcmdlet to import site or library<br />Browse to imported library and get the document<br />
  13. 13.
  14. 14. Configuration only backup<br />What’s in the backup?<br />Antivirus<br />Information rights management (IRM)<br />Outbound e-mail settings<br />Customizations deployed as trusted solutions<br />Diagnostic logging<br />What’s not included?<br />Web application settings<br />Service application settings (search, BCS, managed metadata, web analytics, Excel services…)<br />Alternate access mapping<br />Anything that’s tied to server name or specific URLs<br />
  15. 15. Configuration only backup<br />
  16. 16. PowerShellfor Backup and Recovery<br />Did STSADM go away?<br />No, but all new stuff goes to PowerShell<br />Backup farm or site collection, export site<br />Get-Help -Module Microsoft.SharePoint.PowerShell<br />Get-Command *Backup*<br />Schedule PS1 scripts<br />Execute remotely<br />Run commands or execute scripts from workstation<br />Need farm admin rights<br />Enable CredSSP for access delegation to backend SQL<br />
  17. 17. PowerShellfor Backup and Recovery<br />Backup-SPFarm -BackupMethod Full -Directory "Destination-Directory“ -BackupThreads 5 –Verbose<br />Backup-SPSite -Identity "http://MySite:2131/" -Path "Path to Backup file" -UseSqlSnapShot<br />UseSqlSnapShot parameter:<br />Can be used with Backup-SPSite and Export-SPWeb<br />Creates database snapshot before starting backup/export<br />Allows to keep read/write access during site collection backup (default is read only)<br />Requires SQL Server Enterprise Edition or Developer Edition<br />May conflict with out of the box RBS provider<br />
  18. 18. PowerShellfor Backup and Recovery<br />PowerShell is not only for SharePoint<br />Real power with piping results from one cmdlet to another<br />Get-SPSite -Filter {$_.Owner -eq "DOMAINISotnikov"} | Backup-SPSite -Path<br />How about combining SharePoint, Exchange, AD and SQL cmdlets? Such as… <br />Backup all databases where sites are owned by members of an AD group<br />Not so great with SQL yet: only allows to run a T-SQL query from PowerShell prompt with Invoke-Sqlcmd…<br />
  19. 19. PowerGUI, PowerShell & SharePoint 2010<br />PowerGUI<br />Free community driven tool developed by Quest<br />GUI and Script Editor for PowerShell<br />SharePoint Power Pack: http://www.powergui.org/entry.jspa?externalID=3022<br />PowerShell Cheat Sheet<br />Contribution from industry experts in both PowerShell and SharePoint<br />http://powergui.org/entry.jspa?externalID=2812<br />
  20. 20. Remote BLOB Storage aka RBS<br />What’s RBS?<br />SQL Server feature<br />Way to store files outside of SharePoint content database<br />Requires RBS provider<br />SQL Server 2008 R2 RBS FILESTREAM provider, 3rd party providers<br />Supported SQL Server Editions:<br />SQL Server Enterprise<br />SQL Express for local RBS storage only – single server farms<br />Enabled by default when upgrading WSS v3 standalone<br />Requires modifications on both SQL and SharePoint servers<br />Remote BLOBs are not necessarily backed up!<br />BLOBs are included in SQL backup with RBS FILESTREAM<br />Be aware: backups can be MUCH bigger than your database<br />Check with your vendor if using other providers<br />
  21. 21. RBS considerations<br />Is it practical for your environment?<br />Most efficient for fewer larger BLOBs<br />Possible performance degrade for large amount of small BLOBs<br />Microsoft best practice: use RBS when…<br />Content databases are larger than 500 GB<br />BLOB data files are larger than 256KB<br />Database server I/O is a performance bottleneck<br />Need to overcome SQL Express 2008 R2 db size limits<br />http://technet.microsoft.com/en-us/library/ff628583.aspx<br />http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4ce0c906-3f71-4fff-b3f9-9462343c453f&displaylang=en<br />Why look for 3rd party?<br />NAS is not supported by RBS FILESTREAM<br />Granularity and flexibility<br />Ease of deployment<br />
  22. 22. Service Apps<br />No more Shared Service Provider (SSP)<br />Service applications are now separate<br />You can backup and restore service apps individually<br />Central Administration > Farm Backup and Restore<br />PowerShell<br />http://technet.microsoft.com/en-us/library/ee428318.aspx<br />Considerations for service apps backup strategy:<br />Services can span multiple farms – trust certificates are required and are not part of the backup<br />Be aware of the new databases if you do SQL backup<br />
  23. 23. Questions<br />Please fill out the survey!<br />
  24. 24. THANK YOU FOR ATTENDING<br />ENJOY THE SHAREPOINT DAY!<br />Thanks to our sponsors:<br />