SlideShare uma empresa Scribd logo
1 de 50
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 Redundancy Additional Hardware End user driven Accidental update or deletion Frequent and small-scale
Content Recovery Solutions EPM Administrative backup EPM Settings backup Recycle Bin Versioning
EPM Components
EPM Content (Where Is My Data) EPM Data (4 Databases) Project Enterprise Resource Enterprise Custom Fields Enterprise Global (…) EPM Data in SharePoint (Content DB) Documents Risks Issues Deliverables
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 Pros Consistent Data No IT involvement You can use API to give more flexibility Cons All data is saved Not a backup or high availability solution Beware of space, depending on number of versions kept
EPM Administrative Backup demo
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 Development/Integration/Production New tool in EPM 2007 Resource kit PlayBooks “How do I copy Project Server 2007 settings  from development to production ?”
Playbooks
EPM Settings Pros No need to transfer the EPM data Clean way to work with several environments Backup your settings and keep history Cons Not a backup or high availability solution
EPM Data In SharePoint SharePoint lists Issues, Risks, Deliverables Documents Recover Content SharePoint Recycle bin Versions
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 Pros Supports both List Item and Document versioning End users can retrieve earlier versions Cons 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 Redundancy 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 Yes! Out of the box Backup/Restore UI and Command Line for Central Administrators Wondering… Our recommended solution for small-medium deployments Database Size < 200 GB
SharePoint Backup/RestoreHow it works Farm 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 demo 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 Pros Reuse existing technology and processes Non-application specific Can be faster than SharePoint backup Can back up to tape Remember 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 Webcast http://blogs.technet.com/dpm/archive/2008/01/10/how-to-protect-sharepoint-with-dpm2007-new-streaming-video.aspx
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 Redundancy 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: ,[object Object]
Application Server Role
Database Server RoleAppropriate 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 Clustered/Mirrored  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 Heartbeat 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 demo  Part 2
Backup/Restore Content Recovery Summary Disaster Recovery Administrative backup Settings backup Recycle Bin Versioning SharePoint Backup/Restore SQL-Only DPM 2007 3rd Party Tools Log-Shipping 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

Mais conteúdo relacionado

Mais de Eduardo Castro

Introducción a polybase en SQL Server
Introducción a polybase en SQL ServerIntroducción a polybase en SQL Server
Introducción a polybase en SQL ServerEduardo Castro
 
Creando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL ServerCreando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL ServerEduardo Castro
 
Seguridad en SQL Azure
Seguridad en SQL AzureSeguridad en SQL Azure
Seguridad en SQL AzureEduardo Castro
 
Azure Synapse Analytics MLflow
Azure Synapse Analytics MLflowAzure Synapse Analytics MLflow
Azure Synapse Analytics MLflowEduardo Castro
 
SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022Eduardo Castro
 
Novedades en SQL Server 2022
Novedades en SQL Server 2022Novedades en SQL Server 2022
Novedades en SQL Server 2022Eduardo Castro
 
Introduccion a SQL Server 2022
Introduccion a SQL Server 2022Introduccion a SQL Server 2022
Introduccion a SQL Server 2022Eduardo Castro
 
Machine Learning con Azure Managed Instance
Machine Learning con Azure Managed InstanceMachine Learning con Azure Managed Instance
Machine Learning con Azure Managed InstanceEduardo Castro
 
Novedades en sql server 2022
Novedades en sql server 2022Novedades en sql server 2022
Novedades en sql server 2022Eduardo Castro
 
Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022Eduardo Castro
 
Introduccion a databricks
Introduccion a databricksIntroduccion a databricks
Introduccion a databricksEduardo Castro
 
Pronosticos con sql server
Pronosticos con sql serverPronosticos con sql server
Pronosticos con sql serverEduardo Castro
 
Data warehouse con azure synapse analytics
Data warehouse con azure synapse analyticsData warehouse con azure synapse analytics
Data warehouse con azure synapse analyticsEduardo Castro
 
Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2Eduardo Castro
 
Introduccion a Azure Synapse Analytics
Introduccion a Azure Synapse AnalyticsIntroduccion a Azure Synapse Analytics
Introduccion a Azure Synapse AnalyticsEduardo Castro
 
Seguridad de SQL Database en Azure
Seguridad de SQL Database en AzureSeguridad de SQL Database en Azure
Seguridad de SQL Database en AzureEduardo Castro
 
Python dentro de SQL Server
Python dentro de SQL ServerPython dentro de SQL Server
Python dentro de SQL ServerEduardo Castro
 
Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft Eduardo Castro
 
Script de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure EnclavesScript de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure EnclavesEduardo Castro
 
Introducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure EnclavesIntroducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure EnclavesEduardo Castro
 

Mais de Eduardo Castro (20)

Introducción a polybase en SQL Server
Introducción a polybase en SQL ServerIntroducción a polybase en SQL Server
Introducción a polybase en SQL Server
 
Creando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL ServerCreando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL Server
 
Seguridad en SQL Azure
Seguridad en SQL AzureSeguridad en SQL Azure
Seguridad en SQL Azure
 
Azure Synapse Analytics MLflow
Azure Synapse Analytics MLflowAzure Synapse Analytics MLflow
Azure Synapse Analytics MLflow
 
SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022
 
Novedades en SQL Server 2022
Novedades en SQL Server 2022Novedades en SQL Server 2022
Novedades en SQL Server 2022
 
Introduccion a SQL Server 2022
Introduccion a SQL Server 2022Introduccion a SQL Server 2022
Introduccion a SQL Server 2022
 
Machine Learning con Azure Managed Instance
Machine Learning con Azure Managed InstanceMachine Learning con Azure Managed Instance
Machine Learning con Azure Managed Instance
 
Novedades en sql server 2022
Novedades en sql server 2022Novedades en sql server 2022
Novedades en sql server 2022
 
Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022
 
Introduccion a databricks
Introduccion a databricksIntroduccion a databricks
Introduccion a databricks
 
Pronosticos con sql server
Pronosticos con sql serverPronosticos con sql server
Pronosticos con sql server
 
Data warehouse con azure synapse analytics
Data warehouse con azure synapse analyticsData warehouse con azure synapse analytics
Data warehouse con azure synapse analytics
 
Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2
 
Introduccion a Azure Synapse Analytics
Introduccion a Azure Synapse AnalyticsIntroduccion a Azure Synapse Analytics
Introduccion a Azure Synapse Analytics
 
Seguridad de SQL Database en Azure
Seguridad de SQL Database en AzureSeguridad de SQL Database en Azure
Seguridad de SQL Database en Azure
 
Python dentro de SQL Server
Python dentro de SQL ServerPython dentro de SQL Server
Python dentro de SQL Server
 
Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft
 
Script de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure EnclavesScript de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure Enclaves
 
Introducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure EnclavesIntroducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure Enclaves
 

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

SQL Server Disaster Recovery for Project Server

  • 1. SQL Server DB for Project Server 2007 Disaster RecoveryEduardo CastroGrupo Asesor en Informáticahttp://www.grupoasesor.net
  • 2. 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
  • 3. 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 Redundancy Additional Hardware End user driven Accidental update or deletion Frequent and small-scale
  • 4. Content Recovery Solutions EPM Administrative backup EPM Settings backup Recycle Bin Versioning
  • 6. EPM Content (Where Is My Data) EPM Data (4 Databases) Project Enterprise Resource Enterprise Custom Fields Enterprise Global (…) EPM Data in SharePoint (Content DB) Documents Risks Issues Deliverables
  • 7. 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!”
  • 8. EPM Data Pros Consistent Data No IT involvement You can use API to give more flexibility Cons All data is saved Not a backup or high availability solution Beware of space, depending on number of versions kept
  • 10. EPM 2007 Resource Kit Released !!
  • 11. 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
  • 12. EPM Settings Backup/Restore Project Server 2007 Settings For example to move a configuration from/to differentenvironments Development/Integration/Production New tool in EPM 2007 Resource kit PlayBooks “How do I copy Project Server 2007 settings from development to production ?”
  • 14. EPM Settings Pros No need to transfer the EPM data Clean way to work with several environments Backup your settings and keep history Cons Not a backup or high availability solution
  • 15. EPM Data In SharePoint SharePoint lists Issues, Risks, Deliverables Documents Recover Content SharePoint Recycle bin Versions
  • 16. 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
  • 17. Versioning Pros Supports both List Item and Document versioning End users can retrieve earlier versions Cons 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!”
  • 18. 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 Redundancy Additional Hardware End user errors Accidental update or deletion Frequent and small-scale
  • 19. 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.
  • 20. “I have a small to medium deployment. Do you have anything for me out of the box? SharePoint Backup/Restore Yes! Out of the box Backup/Restore UI and Command Line for Central Administrators Wondering… Our recommended solution for small-medium deployments Database Size < 200 GB
  • 21. SharePoint Backup/RestoreHow it works Farm Central Admin Console File Server SQL Backup/Restore
  • 22. 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
  • 23. 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
  • 24. Command line %CommonProgramFiles%Microsoft SharedWeb Server Extensions12inStsadm –o backup –directory HAREBackup –backupmethod full > D:LOGSLog_backup.txt
  • 27. 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
  • 28. SQL-Only Backup/Restore Pros Reuse existing technology and processes Non-application specific Can be faster than SharePoint backup Can back up to tape Remember 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.”
  • 29. System Center DPM(Data Protection Manager) Content database > 100 GB Site Collection largerthan 12 GB Webcast http://blogs.technet.com/dpm/archive/2008/01/10/how-to-protect-sharepoint-with-dpm2007-new-streaming-video.aspx
  • 30. 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)
  • 31. 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?”
  • 32. 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 Redundancy Additional Hardware End user errors Accidental update or deletion Frequent and small-scale
  • 33. High Availability And Disaster Recovery Solutions Installation Scenarios Web Front End Availability Database Availability Log Shipping SQL Clustering
  • 34.
  • 36. Database Server RoleAppropriate 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
  • 37. Web Servers Clustered/Mirrored 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
  • 38. 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 Heartbeat Node B Node A Shared Disk Array
  • 39. 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
  • 40. 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
  • 41. Clustering Versus Mirroring Versus Log Shipping
  • 42. What about DB Mirroring? Good News: DB Mirroringnumericlimitincreasedfrom 10 to 50* (07/24/2008) http://technet.microsoft.com/en-us/library/cc262910.aspx
  • 43. Putting It All Together What is your RTO/RPO? What does your EPM/SharePoint environment look like? What scenarios concern you?
  • 44. 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!
  • 45. RTO and RPO affect The strategies you deploy The technologies you choose The simplicity of your solution The location of your environments
  • 46. What Scenario’s Concern You? Hardware Failures? Infrastructure Problems? Application Problems? Facilities/Power Failures? Local or Regional Disasters?
  • 47. Restoring A Farm demo Part 2
  • 48. Backup/Restore Content Recovery Summary Disaster Recovery Administrative backup Settings backup Recycle Bin Versioning SharePoint Backup/Restore SQL-Only DPM 2007 3rd Party Tools Log-Shipping SQL Clustering Which combination of tools is right for your environment? Once a DRP has been implemented it is IMPERATIVE to test it regularly !!!
  • 49. 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
  • 50. 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
  • 51. 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 Blogs http://blogs.msdn.com/chrisfie http://blogs.msdn.com/shaden http://blogs.msdn.com/brismith http://blogs.msdn.com/project Codeplex http://www.codeplex.com
  • 52. © 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.