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