27
Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies [email protected] om

Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies [email protected]

Embed Size (px)

Citation preview

Page 1: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Fitting SharePoint Into Your Organization’s Disaster Recovery Plans

Randy Williams, MVP MOSS

Synergy Corporate Technologies

[email protected]

Page 2: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Session Overview

• Recovery overview• Backup options

● Web export● Site collection backup● Farm backup● SQL database backup● Third party products● Other items to backup

• Recommendations

Page 3: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

But first…a little humor

Page 4: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Operations Planning

• Ensure alignment between DR and business continuity plan (BCP)

• Define recovery objectives (RTO/RPO)• Diminishing returns cost curve

UPTIME %

COST ($)

Page 5: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Content vs Disaster Recovery

• Content Recovery● Restoring individual files or lists/libraries● Rely on versioning, recycle bin

• Disaster Recovery● OMG!● A critical SharePoint service/resource is

unavailable● Rely on various forms of backup

Page 6: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

A Few Points on Recycle Bin

• Files aged from first do not go to second• Age setting applies to both bins• Turning off at web app will empty both bins• Only first bin is part of your quota• Web deletion does not go into bin

Page 7: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Backup Choices for Content

• Web (export/import)• Site collection• Farm• SQL Server content databases• Third Party

Page 8: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Web Backup

• Use stsadm –o export to backup• Also captures sub webs• Not full fidelity• Can use SPD to backup

● 24MB limit creates issues• Avoid on large sites/webs

Page 9: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Export Demo

Page 10: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Web Restore

• Use stsadm –o import to restore• Will create web(s) or merge into existing

● For merge, webs must have same base site definition

• Content is recreated● Original created values are lost

Page 11: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Site Collection Backup

• Use stsadm –o backup• Serialized into a single file• Full-fidelity backup of whole site collection• Scheduled with task scheduler• Easily list sites with stsadm –o enumsites• Microsoft IT Site Delete Capture

Page 12: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Site Collection Restore

• Use stsadm –o restore• Can create or overwrite existing site• If restoring a duplicate site

● Must restore into a different content db• Must restore into farm with same

SharePoint build

Page 13: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Major SharePoint Build Numbers

Release Build Number

RTM 4518

SP1 6219

Infrastructure Update 6318

Aug 08 Cumulative 6327

Oct 08 Cumulative 6331

Dec 08 Cumulative 6335

Feb 09 Cumulative 6341

Page 14: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Site Collection Restore

• If restoring to different path in same web application● File not found error with publishing sites● See http://tinyurl.com/bwazun

Page 15: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Site Collection Restore Demo

Page 16: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Farm Backup

• Use stsadm –o backup –directory• Supports full or differential• Does SQL-based database backups

● Truncates the transaction log• Only supported way to backup SP indexes• Backup is done to UNC path

● SQL Service account and account running backup must have write permissions

Page 17: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Farm Backup

• Can back up whole farm or certain items● Web application, content db, SSP, et al

• Can be issued (but not scheduled) using central admin

• Maintain your backup sets● Make sure you keep spbrtoc.xml in sync● Use PowerShell script

Page 18: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Farm Backup Demo

Page 19: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Additional Items to Backup

• IIS● IIS6 use iisback.vbs; IIS7 use appcmd.exe● SSL certificates

• 12 Hive● Easy to zip up

• Web App files in wss\VirtualDirectories• Other third party tools (e.g. IFilters)

Page 20: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Farm Restore

• Only needed if farm is lost• Must create a new farm with same build• Use stsadm –o restore –directory or

central admin• Spbackup.xml lists backup items• Keep content and indexes in sync• Must recreate AAM, certain IIS settings, 12

hive changes, web.config changes

Page 21: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

SQL Server Backup

• Common to also backup config and content databases through SQL Server

• Supports full, differential and incremental• At the VERY least, backup your content

databases• Easily scheduled using agents• Also backup system databases (master,

msdb)

Page 22: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

SQL Backup & Restore Demo

Page 23: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Third Party Backup Solutions

• AvePoint’s DocAve• CommVault• Neverfail• Quest’s Recovery Manager• Microsoft’s Data Protection Manager

Page 24: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Data Protection Manager

• Part of System Center• Provides comprehensive protection of your

farm● Farm, WFE system state

• Farm, Site and Item Recovery• SP1 improvements

● Catalog performance gains● Index support

Page 25: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Recommendations

• Keep a SharePoint change log• Use SharePoint WSP solutions• Actually do trial restores

● Use a staging/test farm to perform restores• Keep content db’s small (< 100-200 GB)• Appropriately name content db’s• Do a backup before and after an upgrade• No one solution is best for all

Page 26: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

In Conclusion

• SQL backups yield the best performance● site/web export is the worst

• Third party solutions address● Integration with existing backups● Item, list or library level recovery● Large content stores (>200GB)

• High availability Options

Page 27: Fitting SharePoint Into Your Organization’s Disaster Recovery Plans Randy Williams, MVP MOSS Synergy Corporate Technologies rwilliams@synergyonline.com

Questions?

• My blog● http://sharepointhawaii.com/randywilliams