SlideShare a Scribd company logo
Disaster Recovery Site
Implementation
Configuration and Requirements
SQLServer
Author
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
• Astute corporate resource with 10+ years of corporate experience with emphasis on database management, programming, software
development, testing, web technologies and product improvement for corporations. Combines expert software and database
management expertise with strong qualifications in Software, Data Engineering & Information Management.
Concurrently, manage all the database functions for the current company. Industry experience in Information Technology. Strong
understanding of the complex challenges in Software Development and problem troubleshooting. An expert on identifying and solving
problems, gaining new business contacts, reducing costs, coordinating staff and evaluating performance. Professional traits include;
problem-solving, decision-making, time management, multitasking, analytical thinking, effective communication, and computer
competencies.
• Oracle Certified Professional OCA on 9i
• Oracle Certified Professional OCP on 9i
• Oracle Certified Professional OCP on 10g
• Oracle Certified Professional OCP on 11g
• Oracle Certified Professional OCP on 12c
• Oracle Certified Professional OCP on MySQL 5
• Oracle Certified Professional OCE on 10g managing on Linux
• Oracle Certified Professional OCP on E-Business Apps DBA
• Microsoft Certified Technology Specialist on SQL Server 2005
• Microsoft Certified Technology Specialist on SQL Server 2008
• Microsoft Certified IT Professional on SQL Server 2005
• Microsoft Certified IT Professional on SQL Server 2008
• Sun Certified Java Programmer 5.0
• IBM Certified Database(DB2) Associate 9.0
• ITIL V3 Foundation Certified
• COBIT 5 Foundation Certified
• PRINCE2 Foundation Certified
Agenda
• Modes of DataTransfer
• Replication
• Types of Replication
• Log Shipping
• Mirroring
• Log Shipping Requirements
• Log Shipping Configuration
• Network upload and download bandwidth requirement
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Modes of DataTransfer
• Replication
• Log Shipping
• Mirroring
• Custom Service
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Replication
• Replication in computing involves sharing information so as to ensure
consistency between redundant resources, such as software or hardware
components, to improve reliability, fault-tolerance, or accessibility
(Wikipedia)
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Types of Replication
• Transactional
• Merge
• Snapshot
• The type of replication you choose for an application depends on many factors,
including the physical replication environment, the type and quantity of data to
be replicated, and whether the data is updated at the Subscriber.The physical
environment includes the number and location of computers involved in
replication and whether these computers are clients (workstations, laptops, or
handheld devices) or servers. (Microsoft)
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Transactional Replication
• Transactional replication is implemented by the SQL Server Snapshot
Agent, Log Reader Agent, and DistributionAgent.The Snapshot Agent
prepares snapshot files containing schema and data of published tables and
database objects, stores the files in the snapshot folder, and records
synchronization jobs in the distribution database on the Distributor.
(Microsoft)
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Merge Replication
• Merge replication is implemented by the SQL Server Snapshot Agent and
Merge Agent. If the publication is unfiltered or uses static filters, the
Snapshot Agent creates a single snapshot. If the publication uses
parameterized filters, the Snapshot Agent creates a snapshot for each
partition of data.The Merge Agent applies the initial snapshots to the
Subscribers. It also merges incremental data changes that occurred at the
Publisher or Subscribers after the initial snapshot was created, and detects
and resolves any conflicts according to rules you configure. (Microsoft)
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Snapshot Replication
• By default, all three types of replication use a snapshot to initialize
Subscribers.The SQL Server Snapshot Agent always generates the
snapshot files, but the agent that delivers the files differs depending on the
type of replication being used. Snapshot replication and transactional
replication use the DistributionAgent to deliver the files, whereas merge
replication uses the SQL Server Merge Agent.The Snapshot Agent runs at
the Distributor.The DistributionAgent and MergeAgent run at the
Distributor for push subscriptions, or at Subscribers for pull subscriptions.
(Microsoft)
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Log Shipping
• SQL Server Log shipping allows you to automatically send transaction log
backups from a primary database on a primary server instance to one or
more secondary databases on separate secondary server instances.The
transaction log backups are applied to each of the secondary databases
individually.An optional third server instance, known as themonitor server,
records the history and status of backup and restore operations and,
optionally, raises alerts if these operations fail to occur as scheduled.
(Microsoft)
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Mirroring
• This feature is going to remove in the future release of MS SQL Server
therefore we are not going to discuss on it.
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Log Shipping Requirements
The primary server instance runs the backup job to back up the transaction log
on the primary database.This server instance then places the log backup into a
primary log-backup file, which it sends to the backup folder. In this figure,
the backup folder is on a shared directory—the backup share.
Each of the three secondary server instances runs its own copy job to copy the
primary log-backup file to its own local destination folder.
Each secondary server instance runs its own restore job to restore the log
backup from the local destination folder onto the local secondary database.
The primary and secondary server instances send their own history and status to
the monitor server instance.
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Log Shipping Requirements
• SQL Server 2005 or later
• Standard, Workgroup or Enterprise editions must be installed on all server
instances involved in log shipping.
• The servers involved in log shipping should have the same case sensitivity
settings.
• The database must use the full recovery or bulk-logged recovery model
• A shared folder for copyingT-Log backup files
• SQL Server Agent Service must be configured properly
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Log Shipping Configuration
• Back up the transaction log at the primary server instance.
• Copy the transaction log file to the secondary server instance.
• Restore the log backup on the secondary server instance.
• The log can be shipped to multiple secondary server instances. In such cases,
operations 2 and 3 are duplicated for each secondary server instance.
• A log shipping configuration does not automatically fail over from the
primary server to the secondary server. If the primary database becomes
unavailable, any of the secondary databases can be brought online manually.
• You can use a secondary database for reporting purposes.
• In addition, you can configure alerts for your log shipping configuration.
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Log Shipping Workflow
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
Network Bandwidth Requirement
• It depends on the requirement of the business and the size of the log created
in the required time period , what they need in case of Recovery point object.
• Bandwidth will be derive from the scheduled of the jobs in SQL Server log
shipping configuration
• Scheduled time could be in seconds , minutes and hours
• Consult your network team and share the requirement with them then they
will provide the required bandwidth.
By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2

More Related Content

PPTX
Disaster Recovery Site Implementation with MySQL
Syed Jahanzaib Bin Hassan - JBH Syed
 
PDF
Hadoop World 2011: I Want to Be BIG - Lessons Learned at Scale - David "Sunny...
Cloudera, Inc.
 
PPTX
2022 02 Integration Bootcamp
Michael Stephenson
 
PPT
Fast and Furious: From POC to an Enterprise Big Data Stack in 2014
MapR Technologies
 
PPTX
From Hadoop to Enterprise Data Warehouse
Bui Ha
 
PDF
Data Ninja Webinar Series: Realizing the Promise of Data Lakes
Denodo
 
PPTX
2012 10 bigdata_overview
jdijcks
 
PDF
Cloud Storage Spring Cleaning: A Treasure Hunt
Steven Moy
 
Disaster Recovery Site Implementation with MySQL
Syed Jahanzaib Bin Hassan - JBH Syed
 
Hadoop World 2011: I Want to Be BIG - Lessons Learned at Scale - David "Sunny...
Cloudera, Inc.
 
2022 02 Integration Bootcamp
Michael Stephenson
 
Fast and Furious: From POC to an Enterprise Big Data Stack in 2014
MapR Technologies
 
From Hadoop to Enterprise Data Warehouse
Bui Ha
 
Data Ninja Webinar Series: Realizing the Promise of Data Lakes
Denodo
 
2012 10 bigdata_overview
jdijcks
 
Cloud Storage Spring Cleaning: A Treasure Hunt
Steven Moy
 

What's hot (20)

PPTX
Data Warehousing Trends, Best Practices, and Future Outlook
James Serra
 
PDF
(BI Advanced) Hiram Fleitas - SQL Server Machine Learning Predict Sentiment O...
Hiram Fleitas León
 
PPT
Data Federation
Stephen Lahanas
 
PDF
How to select a modern data warehouse and get the most out of it?
Slim Baltagi
 
PPT
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r1)
James Serra
 
PDF
DataStax GeekNet Webinar - Apache Cassandra: Enterprise NoSQL
DataStax
 
PDF
O'Reilly ebook: Operationalizing the Data Lake
Vasu S
 
DOCX
BarbaraZigmanResume 2016
bzigman
 
PPTX
Data vault what's Next: Part 2
Empowered Holdings, LLC
 
PDF
Enterprise Data Lake - Scalable Digital
sambiswal
 
PDF
Modern-Data-Warehouses-In-The-Cloud-Use-Cases-Slim-Baltagi
Slim Baltagi
 
PDF
Building a Modern Data Architecture by Ben Sharma at Strata + Hadoop World Sa...
Zaloni
 
PPT
Raising Up Voters with Microsoft Azure Cloud
CCG
 
PPTX
Data Lakehouse Symposium | Day 4
Databricks
 
PPTX
Designing modern dw and data lake
punedevscom
 
PDF
Kave Salamatian, Universite de Savoie and Eiko Yoneki, University of Cambridg...
i_scienceEU
 
PDF
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
Amr Awadallah
 
PPTX
Design Principles for a Modern Data Warehouse
Rob Winters
 
PPTX
Building an Effective Data Warehouse Architecture
James Serra
 
Data Warehousing Trends, Best Practices, and Future Outlook
James Serra
 
(BI Advanced) Hiram Fleitas - SQL Server Machine Learning Predict Sentiment O...
Hiram Fleitas León
 
Data Federation
Stephen Lahanas
 
How to select a modern data warehouse and get the most out of it?
Slim Baltagi
 
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
Data Lakehouse, Data Mesh, and Data Fabric (r1)
James Serra
 
DataStax GeekNet Webinar - Apache Cassandra: Enterprise NoSQL
DataStax
 
O'Reilly ebook: Operationalizing the Data Lake
Vasu S
 
BarbaraZigmanResume 2016
bzigman
 
Data vault what's Next: Part 2
Empowered Holdings, LLC
 
Enterprise Data Lake - Scalable Digital
sambiswal
 
Modern-Data-Warehouses-In-The-Cloud-Use-Cases-Slim-Baltagi
Slim Baltagi
 
Building a Modern Data Architecture by Ben Sharma at Strata + Hadoop World Sa...
Zaloni
 
Raising Up Voters with Microsoft Azure Cloud
CCG
 
Data Lakehouse Symposium | Day 4
Databricks
 
Designing modern dw and data lake
punedevscom
 
Kave Salamatian, Universite de Savoie and Eiko Yoneki, University of Cambridg...
i_scienceEU
 
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
Amr Awadallah
 
Design Principles for a Modern Data Warehouse
Rob Winters
 
Building an Effective Data Warehouse Architecture
James Serra
 
Ad

Similar to SQL Server Disaster Recovery Implementation (20)

PDF
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
ScyllaDB
 
PPTX
Automating the Entire PostgreSQL Lifecycle
anynines GmbH
 
PPTX
Connect Data Strategy Deep Dive - MAZ Workshop (1).pptx
joel804321
 
PDF
2013_protect_presentation
Jeff Holland
 
PDF
Stay productive_while_slicing_up_the_monolith
Markus Eisele
 
PDF
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Continuent
 
PDF
MySQL Replication Performance in the Cloud
Vitor Oliveira
 
PPTX
Sql server 2019 New Features by Yevhen Nedaskivskyi
Alex Tumanoff
 
PDF
Mainframe Application Testing both With and Without Live Data
DevOps for Enterprise Systems
 
PDF
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld
 
PDF
Caching for Microservices Architectures: Session I
VMware Tanzu
 
PPTX
How HashiCorp platform tools can make the difference in development and deplo...
Dmytro Mykhailov
 
PDF
Configuration Management Tools on NX-OS
Cisco DevNet
 
PDF
Auto scaling and dynamic routing for was liberty collectives
sflynn073
 
PPT
Share 2014 Pittsburgh CICS Technical Overview
nick_garrod
 
PPTX
Databus - LinkedIn's Change Data Capture Pipeline
Sunil Nagaraj
 
PPTX
Building cloud native data microservice
Nilanjan Roy
 
DOC
Case Study For Replication For PCMS
Shahzad
 
PPTX
Creating a Centralized Consumer Profile Management Service with WebSphere Dat...
Prolifics
 
PPTX
Micro service architecture
Ayyappan Paramesh
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
ScyllaDB
 
Automating the Entire PostgreSQL Lifecycle
anynines GmbH
 
Connect Data Strategy Deep Dive - MAZ Workshop (1).pptx
joel804321
 
2013_protect_presentation
Jeff Holland
 
Stay productive_while_slicing_up_the_monolith
Markus Eisele
 
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Continuent
 
MySQL Replication Performance in the Cloud
Vitor Oliveira
 
Sql server 2019 New Features by Yevhen Nedaskivskyi
Alex Tumanoff
 
Mainframe Application Testing both With and Without Live Data
DevOps for Enterprise Systems
 
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld
 
Caching for Microservices Architectures: Session I
VMware Tanzu
 
How HashiCorp platform tools can make the difference in development and deplo...
Dmytro Mykhailov
 
Configuration Management Tools on NX-OS
Cisco DevNet
 
Auto scaling and dynamic routing for was liberty collectives
sflynn073
 
Share 2014 Pittsburgh CICS Technical Overview
nick_garrod
 
Databus - LinkedIn's Change Data Capture Pipeline
Sunil Nagaraj
 
Building cloud native data microservice
Nilanjan Roy
 
Case Study For Replication For PCMS
Shahzad
 
Creating a Centralized Consumer Profile Management Service with WebSphere Dat...
Prolifics
 
Micro service architecture
Ayyappan Paramesh
 
Ad

Recently uploaded (20)

PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Software Development Methodologies in 2025
KodekX
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The Future of Artificial Intelligence (AI)
Mukul
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 

SQL Server Disaster Recovery Implementation

  • 2. Author By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2 • Astute corporate resource with 10+ years of corporate experience with emphasis on database management, programming, software development, testing, web technologies and product improvement for corporations. Combines expert software and database management expertise with strong qualifications in Software, Data Engineering & Information Management. Concurrently, manage all the database functions for the current company. Industry experience in Information Technology. Strong understanding of the complex challenges in Software Development and problem troubleshooting. An expert on identifying and solving problems, gaining new business contacts, reducing costs, coordinating staff and evaluating performance. Professional traits include; problem-solving, decision-making, time management, multitasking, analytical thinking, effective communication, and computer competencies. • Oracle Certified Professional OCA on 9i • Oracle Certified Professional OCP on 9i • Oracle Certified Professional OCP on 10g • Oracle Certified Professional OCP on 11g • Oracle Certified Professional OCP on 12c • Oracle Certified Professional OCP on MySQL 5 • Oracle Certified Professional OCE on 10g managing on Linux • Oracle Certified Professional OCP on E-Business Apps DBA • Microsoft Certified Technology Specialist on SQL Server 2005 • Microsoft Certified Technology Specialist on SQL Server 2008 • Microsoft Certified IT Professional on SQL Server 2005 • Microsoft Certified IT Professional on SQL Server 2008 • Sun Certified Java Programmer 5.0 • IBM Certified Database(DB2) Associate 9.0 • ITIL V3 Foundation Certified • COBIT 5 Foundation Certified • PRINCE2 Foundation Certified
  • 3. Agenda • Modes of DataTransfer • Replication • Types of Replication • Log Shipping • Mirroring • Log Shipping Requirements • Log Shipping Configuration • Network upload and download bandwidth requirement By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 4. Modes of DataTransfer • Replication • Log Shipping • Mirroring • Custom Service By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 5. Replication • Replication in computing involves sharing information so as to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility (Wikipedia) By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 6. Types of Replication • Transactional • Merge • Snapshot • The type of replication you choose for an application depends on many factors, including the physical replication environment, the type and quantity of data to be replicated, and whether the data is updated at the Subscriber.The physical environment includes the number and location of computers involved in replication and whether these computers are clients (workstations, laptops, or handheld devices) or servers. (Microsoft) By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 7. Transactional Replication • Transactional replication is implemented by the SQL Server Snapshot Agent, Log Reader Agent, and DistributionAgent.The Snapshot Agent prepares snapshot files containing schema and data of published tables and database objects, stores the files in the snapshot folder, and records synchronization jobs in the distribution database on the Distributor. (Microsoft) By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 8. Merge Replication • Merge replication is implemented by the SQL Server Snapshot Agent and Merge Agent. If the publication is unfiltered or uses static filters, the Snapshot Agent creates a single snapshot. If the publication uses parameterized filters, the Snapshot Agent creates a snapshot for each partition of data.The Merge Agent applies the initial snapshots to the Subscribers. It also merges incremental data changes that occurred at the Publisher or Subscribers after the initial snapshot was created, and detects and resolves any conflicts according to rules you configure. (Microsoft) By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 9. Snapshot Replication • By default, all three types of replication use a snapshot to initialize Subscribers.The SQL Server Snapshot Agent always generates the snapshot files, but the agent that delivers the files differs depending on the type of replication being used. Snapshot replication and transactional replication use the DistributionAgent to deliver the files, whereas merge replication uses the SQL Server Merge Agent.The Snapshot Agent runs at the Distributor.The DistributionAgent and MergeAgent run at the Distributor for push subscriptions, or at Subscribers for pull subscriptions. (Microsoft) By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 10. Log Shipping • SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate secondary server instances.The transaction log backups are applied to each of the secondary databases individually.An optional third server instance, known as themonitor server, records the history and status of backup and restore operations and, optionally, raises alerts if these operations fail to occur as scheduled. (Microsoft) By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 11. Mirroring • This feature is going to remove in the future release of MS SQL Server therefore we are not going to discuss on it. By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 12. Log Shipping Requirements The primary server instance runs the backup job to back up the transaction log on the primary database.This server instance then places the log backup into a primary log-backup file, which it sends to the backup folder. In this figure, the backup folder is on a shared directory—the backup share. Each of the three secondary server instances runs its own copy job to copy the primary log-backup file to its own local destination folder. Each secondary server instance runs its own restore job to restore the log backup from the local destination folder onto the local secondary database. The primary and secondary server instances send their own history and status to the monitor server instance. By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 13. Log Shipping Requirements • SQL Server 2005 or later • Standard, Workgroup or Enterprise editions must be installed on all server instances involved in log shipping. • The servers involved in log shipping should have the same case sensitivity settings. • The database must use the full recovery or bulk-logged recovery model • A shared folder for copyingT-Log backup files • SQL Server Agent Service must be configured properly By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 14. Log Shipping Configuration • Back up the transaction log at the primary server instance. • Copy the transaction log file to the secondary server instance. • Restore the log backup on the secondary server instance. • The log can be shipped to multiple secondary server instances. In such cases, operations 2 and 3 are duplicated for each secondary server instance. • A log shipping configuration does not automatically fail over from the primary server to the secondary server. If the primary database becomes unavailable, any of the secondary databases can be brought online manually. • You can use a secondary database for reporting purposes. • In addition, you can configure alerts for your log shipping configuration. By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 15. Log Shipping Workflow By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2
  • 16. Network Bandwidth Requirement • It depends on the requirement of the business and the size of the log created in the required time period , what they need in case of Recovery point object. • Bandwidth will be derive from the scheduled of the jobs in SQL Server log shipping configuration • Scheduled time could be in seconds , minutes and hours • Consult your network team and share the requirement with them then they will provide the required bandwidth. By JBH Syed| BSCS | MSDEIM | MCTS | MCITP | OCA | OCP | OCE | SCJP | ITL V3F | COBIT 5F | PRINCE2