• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
SQL Server Disaster Recovery for Project Server

SQL Server Disaster Recovery for Project Server



Mecanismos de recuperación de desastres de SQL Server aplicados a Project Server 2007....

Mecanismos de recuperación de desastres de SQL Server aplicados a Project Server 2007.

Ing. Eduardo Castro Martinez, PhD
Microsoft SQL Server MVP



Total Views
Views on SlideShare
Embed Views



1 Embed 11

http://www.slideshare.net 11



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    SQL Server Disaster Recovery for Project Server SQL Server Disaster Recovery for Project Server Presentation Transcript

    • SQL Server DB for Project Server 2007 Disaster RecoveryEduardo CastroGrupo Asesor en Informáticahttp://www.grupoasesor.net
    • Session Objectives And Takeaways
      Session Objective(s):
      Where is my EPM data stored ?
      Discuss what are the options to backup any components of your SharePoint/EPM Farm
      Session will not cover in details backup/restore plan and all high availability options
      Learn how to recover your data
      Learn how to recover from a catastrophic failure on your EPM Farm
    • Backup/Restore
      Content Recovery
      Backup And Restore Types
      Disaster Recovery
      Farm or Database Restore
      Hardware Failure or Disaster
      Hardware Migration or Replacement
      Minimize Downtime
      Large Amounts
      of Data
      Additional Hardware
      End user driven
      Accidental update or deletion
      Frequent and small-scale
    • Content Recovery Solutions
      EPM Administrative backup
      EPM Settings backup
      Recycle Bin
    • EPM Components
    • EPM Content (Where Is My Data)
      EPM Data (4 Databases)
      Enterprise Resource
      Enterprise Custom Fields
      Enterprise Global
      EPM Data in SharePoint (Content DB)
    • EPM Data
      EPM Administrative Backup/Restore
      Use of the Project_Archive Database
      Define the retention level (versions)
      Driven by EPM functional administrator
      Can be scheduled
      Define the retention level (policy)
      “Oops I have deleted my project!”
    • EPM Data
      Consistent Data
      No IT involvement
      You can use API to give more flexibility
      All data is saved
      Not a backup or high availability solution
      Beware of space, depending on number of versions kept
    • EPM Administrative Backup
    • EPM 2007 Resource Kit
      Released !!
    • EPM 2007 Resource Kit tools
      Portfolio Analyzer Views Migration
      Project Server Settings Backup and Restore (Playbooks)
      Project Server Data Populator
      Project Workspace Site Relinker
      View Effective Rights
    • EPM Settings
      Backup/Restore Project Server 2007 Settings
      For example to move a configuration from/to differentenvironments
      New tool in EPM 2007 Resource kit
      “How do I copy Project Server 2007 settings
      from development to production ?”
    • Playbooks
    • EPM Settings
      No need to transfer the EPM data
      Clean way to work with several environments
      Backup your settings and keep history
      Not a backup or high availability solution
    • EPM Data In SharePoint
      SharePoint lists
      Issues, Risks, Deliverables
      Recover Content
      SharePoint Recycle bin
    • Recycle Bin
      “I just deleted my deck and my presentation is in an hour!”
      End User Driven
      Supports Lists, Document Libraries, Folders, Documents, and List Items
      Two Stages
      End User
      Site Collection Administrator
      Site Collection Level
    • Versioning
      Supports both List Item and Document versioning
      End users can retrieve earlier versions
      Versions count towards site quota
      Functionality needs to be enabled per List/Document Library (Disabled by Default)
      Does not support Folders, Webs and/or Sites
      “I made some changes but now I want to go back to a previous version!”
    • Backup/Restore
      Content Recovery
      Backup And Restore Types
      Disaster Recovery
      Farm or Database Restore
      Hardware Failure or Disaster
      Hardware Migration or Replacement
      Minimize Downtime
      Large Amounts
      of Data
      Additional Hardware
      End user errors
      Accidental update or deletion
      Frequent and small-scale
    • Disaster RecoveryBackup and restore solutions
      SharePoint Backup/Restore
      SQL Server Backup and Restore
      System Center DPM 2007 (Data Protection Manager)
      Third-Party Solutions
      Use when hardware fails, and as a last resort for service level agreement.
    • “I have a small to medium deployment. Do you have anything for me out of the box?
      SharePoint Backup/Restore
      Out of the box Backup/Restore UI and Command Line for Central Administrators
      Our recommended solution for small-medium deployments
      Database Size < 200 GB
    • SharePoint Backup/RestoreHow it works
      Central Admin Console
      File Server
      SQL Backup/Restore
    • SharePoint Backup/RestoreDetails
      Out of the Box UI and command line access for Central Administrator
      ‘Hooks up’ SharePoint databases and search index on Restore
      Supports Full and Differential backup
      Backs up the search index (MOSS only)
      Extensible framework for 3rd party applications
    • SharePoint Backup/RestoreLimitations
      Use the command line with Windows Task Scheduler for scheduled backups
      Backs up content, SSP, EPM Databases and search index
      You must manually backup front end files
      We recommend you keep images of your web front ends
      High restore time  Low availability
    • Command line
      %CommonProgramFiles%Microsoft SharedWeb Server Extensions12inStsadm –o backup
      –directory HAREBackup
      –backupmethod full
      > D:LOGSLog_backup.txt
    • Configuring SharePoint Backup/Restore
      Part 1
    • Full FarmRecoveryProcess
    • Solution For Each Scenario
      For Disaster Recovery
      To create a backup farm
      Use stsadm –o backup/restore
      To migrate a site collection
      Use stsadm –o backup http://server/site
      To migrate a site/list/library/item
      Use stsadm –o export/import for sites
      Use Site Manager within Site collection
      Project Server 2007 Resource kit tool
      Project Workspace Site RelinkerRelinkAllWSSSites
    • SQL-Only Backup/Restore
      Reuse existing technology and processes
      Non-application specific
      Can be faster than SharePoint backup
      Can back up to tape
      Post-restore reattachment and clean up
      Search index must be backed up separately via SharePoint backup for MOSS
      “My SQL servers are managed by a separate organization or data center from my SharePoint installations.”
    • System Center DPM(Data Protection Manager)
      Content database > 100 GB
      Site Collection largerthan 12 GB
    • DPM 2007 and SharePoint 2007
      DPM can be used to recover content items, sites, and farms. For more information, see:
      How to Recover a Windows SharePoint Services Item (http://go.microsoft.com/fwlink/?LinkId=102815&clcid=0x409)
      How to Recover a Windows SharePoint Services Site (http://go.microsoft.com/fwlink/?LinkId=102826&clcid=0x409)
      How to Recover a Windows SharePoint Services Farm (http://go.microsoft.com/fwlink/?LinkId=102831&clcid=0x409)
    • 3rd Party Backup Tools
      What to look for in a 3rd party solution
      Does it back up the Search Index?
      Does it require post-restore manual work
      SharePoint integration with VSS framework
      Easier for 3rd parties to write custom backup/restore tools
      Entire server (search index is included)
      Only supports catastrophic overwrite scenario (not migration)
      “I want to use a custom or 3rd party tool to backup/restore my farm! Does SharePoint support that?”
    • Backup/Restore
      Content Recovery
      Backup And Restore Types
      Disaster Recovery
      Farm or Database Restore
      Hardware Failure or Disaster
      Hardware Migration or Replacement
      Minimize Downtime
      Large Amounts
      of Data
      Additional Hardware
      End user errors
      Accidental update or deletion
      Frequent and small-scale
    • High Availability And Disaster Recovery Solutions
      Installation Scenarios
      Web Front End Availability
      Database Availability
      Log Shipping
      SQL Clustering
    • Low AvailabilitySingle Server Scenario
      One Server Configured as:
      • Web Front-End Server Role
      • Application Server Role
      • Database Server Role
      Appropriate for limited use-scenarios including the following
      Installing Office Project Server 2007 for evaluation purposes
      Deploying only Microsoft Windows SharePoint Services 3.0
      Deploying Office Project Server 2007 for a limited purpose (such as for a single department) or for a limited number of users
    • Web Servers
      SQL Server
      Application Server
      High AvailabilityMulti-server farm scenario
      Optimizes performance of web servers
      Increases redundancy and reduces points of failure
      Redundancy at WFE and Database server roles
      Determine configuration based on your business needs and goals
      Determine config of other Application roles (PSI, Excel Services, Index, Forms, etc)
      Multiple Application Servers don’t give you fault tolerance
      You will need to remove any failed server from the farm – MOM can help you here
    • SQL Failover Clustering
      “If my SQL server blows up (hardware failure), how do I keep my EPM/SharePoint farm running?”
      Unattended application availability: automatic failover capability without administrator intervention
      Shared cluster name means no app awareness necessary
      SharePoint Web Front Ends
      Server Cluster
      Node B
      Node A
      Shared Disk Array
    • Log-Shipping
      Backup/Restore based technology that relies on transaction log files
      Need to have a shared folder that contains the log file backups
      Configure the frequency of backups and shipping
      No automatic failover
      Allows you to replicate data to several databases (one to many)
      Recommended to use Log Marking to keep databases in sync
    • Log Shipping At A Glance
      Each action is governed by a separate SQLjob and can be controlled andscheduled independently
      SQL Agent on primary server backs uptransaction log to primary share
      SQL Agent on secondary server copies thetransaction log its own local share
      SQL Agent on secondary server restorestransaction log to the local database
    • Clustering Versus Mirroring Versus Log Shipping
    • What about DB Mirroring?
      Good News: DB Mirroringnumericlimitincreasedfrom 10 to 50*
      (07/24/2008) http://technet.microsoft.com/en-us/library/cc262910.aspx
    • Putting It All Together
      What is your RTO/RPO?
      What does your EPM/SharePoint environment look like?
      What scenarios concern you?
    • What Is Your RTO/RPO?
      RTO (Recovery Time Objective) = How long can my app be down before the business falls apart?
      RPO (Recovery Point Objective) = How much data loss can be tolerated before the business falls apart?
      RTO and RPO are the most important factors to your overall DR strategy!
    • RTO and RPO affect
      The strategies you deploy
      The technologies you choose
      The simplicity of your solution
      The location of your environments
    • What Scenario’s Concern You?
      Hardware Failures?
      Infrastructure Problems?
      Application Problems?
      Facilities/Power Failures?
      Local or Regional Disasters?
    • Restoring A Farm
      Part 2
    • Backup/Restore
      Content Recovery
      Disaster Recovery
      Administrative backup
      Settings backup
      Recycle Bin
      SharePoint Backup/Restore
      DPM 2007
      3rd Party Tools
      SQL Clustering
      Which combination of tools is right for your environment?
      Once a DRP has been implemented it is IMPERATIVE to test it regularly !!!
    • Related Resources (1/3)
      Office 2007 Technethttp://technet.microsoft.com/en-us/office
      Plan for data protection and recoveryhttp://technet2.microsoft.com/Office/en-us/library/9e69a470-f16c-4637-a6ae-4548bbed459b1033.mspx
      Office Project Server 2007 Operationshttp://technet2.microsoft.com/Office/en-us/library/8aee655b-1f87-4729-bf30-e79ad0debeec1033.mspx
      Office Project Server 2007 Resource kithttp://www.microsoft.com/downloads/details.aspx?FamilyId=A33D253C-6424-48E4-B87E-0861D1977BB7&displaylang=en
    • Related Resources (2/3)
      Data protection and recovery for Office SharePoint Server in small to medium deploymentshttp://go.microsoft.com/fwlink/?LinkId=102839&clcid=0x409
      How to automate the deletion of backups in SharePoint Server 2007 and in Windows SharePoint Services 3.0 by using a Visual Basic scripthttp://support.microsoft.com/kb/941330
    • Related Resources (3/3)
      SQL Server 2005 High Availability http://msdn2.microsoft.com/en-us/library/ms190202.aspx
      SQL Server 2005 Mirror Best Practices http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx
    • © 2008 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.