Techedafricademystifyingbackuprestoreinsharepoint2007 090805103250 Phpapp02


Published on

SharePoint BackupRestore Considerations

  • 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
  • An example of a warm standby environment utilizing a second SharePoint farm deployed in a secondary data center using SQL Server High Performance Mirroring to replicate only the content databases. During a failover, the content databases are brought online and attached to the existing farm.
  • An example of a straddle farm installed in two closely located data centers. In this example SQL High Availability Mirroring is used to replicate all SharePoint farm databases to a standby SQL server (mirror). The network conditions between the two datacenters allow high throughput and remains supportable. A load balancer solution or DNS directs clients to the active data center.
  • Techedafricademystifyingbackuprestoreinsharepoint2007 090805103250 Phpapp02

    1. 1.
    2. 2. Demystifying Backup and Restore for SharePoint<br />Joel Oleson<br />Sr. Analyst<br />@joeloleson<br />Quest Software<br />Session Code: <br />
    3. 3. Who is SharePoint Joel?<br />8 year SharePoint Veteran…<br />First SharePoint Admin<br />Sr. Architect – SharePoint at Quest software<br />Top IT SharePoint Blog<br />Blog:<br />Twitter: @joeloleson<br />
    4. 4. Agenda<br />Understanding the problem<br />Defining requirements<br />Discuss backup & recovery solutions<br />Tips & Tricks – Addressing gaps in backup/restore<br />Summary and Q&A<br />(Compliments to Mike Watson)<br />
    5. 5. The problem<br />Why is SharePoint Protection Difficult?<br />
    6. 6. Why SharePoint Data Protection is Difficult<br /><ul><li>SharePoint is confusing
    7. 7. Multiple servers with different roles
    8. 8. Different databases
    9. 9. Customizations
    10. 10. Configurations
    11. 11. Logical architecture doesn’t translate into physical components</li></li></ul><li>Why SharePoint Data Protection is Difficult<br />Competing goals require different solutions:<br />Item level recovery <br />Disaster Recovery<br />High Availability<br />Many solutions available. Not obvious what to use:<br />SharePoint Native Backup<br />SharePoint Designer <br />Recycle Bin<br />SQL backup<br />DPM<br />Third-party solutions<br />
    12. 12. What in Your SharePoint Environment Needs Protection?<br />Do you need to protect all of your farms, servers, services, customizations, and configurations?<br />
    13. 13. What do you need to backup<br />Your Databases<br />All Configuration and settings<br />Your Services (Index)<br />External Code and Dev assets<br />
    14. 14. SharePoint Components<br />
    15. 15. The plan<br />Policy Driven Backup and Recovery<br />
    16. 16. Creating a Backup/Recovery Solution<br />Difficult but not impossible!<br />What needs to be protected from what scenarios?<br />How likely are those scenarios?<br />How much data loss can be tolerated?<br />How quickly must items/environment be restored?<br />Test and price potential solutions.<br />Mitigate issues.<br />Choose and communicate solution.<br />
    17. 17.
    18. 18. Protected From What Scenarios?<br />
    19. 19. How SLA Affects Your Recovery Plan<br />
    20. 20. Recycle Bin with 2 levels of recovery<br />End-user targeted with access from the site itself<br />Site Administrator (at the Site Collection) accessible at the second level<br />Turned on by default through Central Admin<br />Configured at the Web Application Level<br />The No Brainer…<br />
    21. 21. RTO/RPO – Very Important!<br />How much data loss can be tolerated?<br />How quickly must data/environment be restored?<br />RTO/RPO affect:<br />The technologies you choose<br />The strategies you deploy<br />The simplicity/complexity of your solution<br />The location of your backups and environments<br />
    22. 22. How the &quot;Nines&quot; Relate to Yearly Downtime<br />
    23. 23. Backup/Recovery solutions<br />Test & Price Potential Solutions<br />
    24. 24. Protecting Content<br />It’s nearly all about the Content Database!<br />
    25. 25. Content Database Protection<br />Simple Problem – Difficult Solution<br />Endless options:<br />SharePoint native backup<br />SQL Native backup <br />With compression?<br />Simple or Full recovery model?<br />Full, Differential, Incremental backups?<br />Transaction log backups?<br />What to store and how long?<br />SQL log shipping, mirroring, replication?<br />DPM?<br />Third-Party backup and replication tools?<br />
    26. 26. Content Database Recovery<br />Even more difficult!<br />SQL database recovery workflow<br />Confirm item<br />Confirm location<br />Track down database backup timeline<br />Recover backups (online or offline (tape))<br />Position backups (same server/farm, recovery farm)<br />Confirm backups are valid<br />Restore backups<br />Attach backups to SharePoint<br />Confirm item is available<br />Retrieve item and position for end user<br />Recover to original farm<br />Recover to a restore farm<br />Extract data from SQL.<br />Bring DR database online.<br />
    27. 27. “I’m planning on using SharePoint’s Native Backup Restore, are there any considerations I should know?<br />SharePoint Native Backup/Restore<br />SharePoint Native Backup/Restore provides an out of the box base solution<br />SharePoint’s Native Backup/Restore is only recommended for Small to Medium Sized Deployments… <br />
    28. 28. STSADM for Operations and Scripting<br />Tool for the right job…<br />To create a farm backup:<br />Use stsadm –o backup -directory<br />To migrate a site collection:<br />Use stsadm –o backup http://server/site (no directory)<br />To migrate a site:<br />Use stsadm –o export/import for sites<br />To migrate a list: <br />Access or Excel or Third party tool <br />(watch creator/created date)<br />
    29. 29. Characteristics of a Small to Medium-Size Deployment (Data Perspective)<br />Site Collections No Larger than 12-15 GB*<br />Content Databases No Larger than 100 GB*<br />Deployed in up to three tiers, on no more than five servers (one to three front-end Web servers, one application server, and one computer or cluster running Microsoft SQL Server.)*<br />*Source: Whitepaper “Data protection and recovery for Office SharePoint Server in small to medium deployments”<br />
    30. 30. SharePoint 2007 Native Backup & Restore<br />Out of the Box User Interface via Central Administration<br />Command line access via STSADM tool<br />‘Hooks up’ SharePoint Databases and Search index on Restore<br />Supports Full and Differential Backups*<br />Easy to Use<br />Backup/Restore at Farm or Web Application Level<br />The only way native way to backup/restore the Search index<br />
    31. 31. How Native SharePoint Backup Works<br />Farm<br />Central Admin UI or Console<br />File Server<br />SQL Backup/Restore<br />
    32. 32. SharePoint 2007 Native Backup/Restore<br />What’s Missing???<br />Does not Provide Scheduling Functionality in SharePoint (Use Windows Task Scheduler)<br />Does not Backup any Configurations/Customizations to any files in the “12 Hive” or Web.config files<br />Does not Backup IIS Settings/Configurations<br />Does not Backup Alternate Access Mappings (AAM)<br />Cannot Backup Directly to Tape (only to UNC)<br />
    33. 33. SQL-Only Backup/Restore<br />“My SQL servers are managed by a separate organization or data center from my SharePoint installations…” <br />“I prefer SQL Server Backups for Performance and Availability…”<br />Advantages & Benefits:<br />Existing SQL Server disaster recovery strategies can be re-used<br />Can provider substantially faster Backup/Restore than <br />MOSS 2007’s Native Backup/Restore<br />Can leverage 3rd party tools such as LiteSpeed for SQL Server to improve Backup/Restore Performance <br />Provides a full-fidelity data backup<br />
    34. 34. SQL-Only Backup/Restore<br />Considerations & Disadvantages:<br />Does not Backup any WFE Configurations or Solutions<br />Requires Admin to Manually Reattach Content Databases to the Web applications After a Recovery<br />Manually Backup / Restore all customizations on WFE Servers (.Net Assemblies, Features, IIS Metabase, etc. – batch file can help automate this process)<br />No need to Backup Search Database (As it can’t be synchronized with Search Index)<br />Recommend Backup/Restore of SSP separately via SharePoint Native Backup & Restore<br />
    35. 35. Why Backup/Restore is Not Highly Available or DR<br />Simply not fast enough<br />Rate of restore * content size = RTO<br /> Example:<br />100MB/sec * 5TB &gt; 14 hours<br />Complicated recovery procedure<br />Prone to error<br />Some important configurations will likely be lost. <br />
    36. 36. Failover SQL Mirroring 2 Farms<br />
    37. 37. Mirroring Within Farm<br />&lt; 1ms latency<br />&gt;LAN speed<br />
    38. 38. Third Party Solutions<br />There are three main categories:<br />Storage Solutions – Replication of content on disk to another storage set or system.<br />Backup/Restore – Integrate with SQL, file system, or VSS to provide backup/restore functionality.<br />Caching/Synchronization – Use a variety of methods to cache content to a remote store or replicate content across sites/farms.<br />
    39. 39. Quick Note on the Infrastructure Update<br />Infrastructure update includes some major HA/DR improvements<br />Overall improvement in stability/perf (better stored procs)<br />Faster patching reduces downtime.<br />VSS Writer enhancements improve reliability.<br />Full crawls no longer necessary after DB attach:<br />Content DB’s do not get assigned new GUID’s !!!!<br />Change log remains intact. <br /><br />
    40. 40. Tips and tricks <br />Mitigating problems with backup/restore solutions<br />
    41. 41. Improving Performance of Native Backup<br />Co locate the backup share with the largest backup components.<br />Ensure the index disk has good read performance. (100MB/sec or better)<br />Ensure the backup LUN has good write performance. (100MB/sec or better) <br />Ensure database LUN(s) have good read performance. (150MB/sec or better)<br />Ensure Gbps connectivity between remote components and backup share. (1Gbps or 100MB/sec)<br />Ensure all crawls (including anchor text) are stopped/paused. <br />
    42. 42. Using A SQL Connection Alias with SharePoint<br />1. SharePoint configured to use SQL1 as default SQL server<br />2. Connection Alias defined: SQL1 = SQL1<br />3. Upon failover. Connection Alias updated: SQL1 = SQL2<br />SQL1<br />SQL2<br />
    43. 43. Prevent Database Restores<br />Use granular protection solutions instead.<br />Recycle bin<br />List item versioning<br />Publishing (page versioning)<br />Quick Recovery Tool (like Quest)<br />Gaps exist.<br />No site or web recycle bin. Use the MSIT Site Delete capture tool<br />No centralized control over item and page versioning<br />
    44. 44. Use Solutions!<br />Roll up customizations as solution packages<br />Roll up as many customizations into a single package as possible.<br />Solutions provide automatic deployment, simplified management, upgrade, and HA/DR efficiencies.<br />Store solutions offsite (and on standby farm) with installation instructions.<br />Build roll up packages on a regular basis.<br />
    45. 45. DEMO: Quest Recovery Manager<br />Provides granular and scalable recovery of anything in the backup of your SharePoint 2003 and 2007 content database<br />
    46. 46. SharePoint 2010 sneak Peak Video Demo – Backup/Recovery<br />
    47. 47. Sneak Peak Video: SharePointFilter out noise <br />video<br />
    48. 48. SharePoint 2010 sneak Peak<br />Sneak Peak Videos:<br />
    49. 49. Summary<br />SharePoint Backup/Recovery is tricky, but not impossible.<br />Traditional backup/restore is not HA or DR. <br />Different requirements sometimes require different solutions. <br />Most solutions have issues. Look around for innovative fixes. <br />No one solutions meets all needs. Combine solutions when necessary.<br />
    50. 50.<br />Aggregation of Quest SharePoint Team Feeds<br />Unique IT Content<br />Migration<br />Disaster Recovery/Backup<br /><ul><li>Product Update Drilldown and Webcast Announcements</li></ul>Beta access to new SharePoint tools and products!<br />DropThis<br />Reorg Wizard<br />AND MORE!!!<br />Quest SharePoint tools discussion forums<br />
    51. 51. Watch Out for Killer Bunnies<br />
    52. 52. Quest Solutions for SharePoint <br />Site Administrator for SharePoint Discover, understand and manage your SharePoint environment<br />Quest SQL Server Solutions <br />Maximize SQL Server performance while simplifying tasks and providing visibility and control<br />Quest Web Parts <br />Enable rapid development of SharePoint applications<br />Recovery Manager for SharePoint<br />Granular SharePoint recovery for enterprise-level needs<br />Migration Manager for SharePoint <br />SharePoint 2003 to 2007 migration<br />File Migrator for SharePoint <br />File shares to SharePoint migration<br />Public Folder Migrator for SharePoint<br />Exchange Public Folders to SharePoint migration<br />Notes Migrator for SharePoint<br />Notes application content to SharePoint migration<br />48<br />
    53. 53. Required Slide<br />10 pairs of MP3 sunglasses to be won<br />Complete a session evaluation and enter to win!<br />
    54. 54. Thank You!<br />
    55. 55. Required Slide<br />© 2009 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.<br />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.<br />
    56. 56. Required Slide<br />Speakers, <br />TechEd 2009 is not producing <br />a DVD. Please announce that <br />attendees can access session <br />recordings from Tech-Ed website. These will only be available after the event.<br />Tech·Ed Africa 2009 sessions will be made available for download the week after the event from:<br /><br />International Content & Community<br /><br />Microsoft Certification & Training Resources<br /><br />Resources for IT Professionals<br /><br />Resources for Developers<br />Resources<br />