SlideShare a Scribd company logo
1
Register now: mongodbworld.com
Use Code TojiGeorge for additional 25% Off
*Come as a group of 3 or more – Save another 25%
Backup &
Disaster
Recovery
Toji George
Solution Architect – Pre-Sales
toji@mongodb.com
3
Topics
• Requirements around Availability and Backup
• MongoDB Solutions
• Tools for Backing up MongoDB
4
Requirements
• “I need my data to be readable/writable in the face of
infrastructure failures”
– Memory, disk, server, network, rack, data center
• “Need tunable resiliency depending upon failure
scenarios”
• “I want to be able to get my data back to yesterday 3:05
PM because an application change caused some
erroneous updates”
5
Requirements
• “I need my data to be readable/writable in the face of
infrastructure failures”
– Memory, disk, server, network, rack, data center
• “Need tunable resiliency depending upon failure
scenarios”
• “I want to be able to get my data back to yesterday 3:05
PM because an application change caused some
erroneous updates”
Availability
Backup
6
Considerations
Effort and Cost to meet availability and backup
requirements driven by:
• RPO: Recovery Point Objective
– How much data can you afford to lose?
• RTO: Recovery Time Objective
– How long can you afford to be offline?
Availability
8
• Automated replication
and failover
• Multi-data center
support
• Improved operational
simplicity
(e.g., upgrades, HW
swaps)
• Data durability and
consistency
MongoDB Replication for Availability
9
Single Data Center
Automated failover
Tolerates server failures
Tolerates rack failures
Number of replicas defines
failure tolerance
10
Active/Active Data Center
Tolerates server, rack, data center failures, network partitions
11
Replication Advantage
• Built into MongoDB, only ops and infrastructure cost
• Meet RPO with tunable durability
– Acknowledge write from 1 to majority members of a
replica set
• Down for a very short interval
– Failover time is in seconds
Backup
13
“We do not need
backups for
MongoDB”
• We have replicated data
• Multiple systems will not go
down
• We have good change control
Why should you backup:
https://www.mongodb.com/presentations/run-mongodb-confidence-
backing-and-monitoring-mms
14
Solutions for Backup
Manual Automated
• mongodump/mongorestore
• Storage level backups
• MongoDB Management
Service or Ops Manager
15
mongodump / mongorestore
• Can be run online or offline
• Oplog aware for point in time restores
• Filter in, filter out
• Considerations:
– Data size/can be slow
– Shard sync
16
Storage level backups
• Flavors:
– Copy files in your data directory (e.g. /data/db)
– File system or block storage snapshots
• Fastest way to backup/restore
• Considerations:
– Journal/consistency
– Backup granularity (whole file system back up?)
– Ops expertise
– Storage of snapshots or data file backups
17
MongoDB Management
Service (MMS)
Ops Manager
• Runs on our cloud
(mms.mongodb.com)
• Free service for
Managing/Monitoring up to 8
servers
• Paid service for Backup, First 1 GB
Free
• Runs in your cloud / data center
• Included with MongoDB Enterprise
Advanced
http://www.mongodb.com/presentations/automate-
mongodb-mongodb-management-service-mms
http://www.mongodb.com/presentations/webinar-
introducing-ops-manager
Automation, for single-click provisioning,
scaling & upgrades
Monitoring, with charts, dashboards and
alerts on 100+ metrics
Backup and restore, with point-in-time
recovery, support for sharded clusters
18
Steps for Backup
MMS Ops Manager
(Infrastructure already exists in the
cloud)
Setup MMS for Automation and
Monitoring Infrastructure
Size and setup MMS Backup
infrastructure
Start to monitor (and/or manage) your MongoDB
deployment
Deploy backup agents
Start taking backups
19
Comparing backup approaches
Mongodump File system MMS Backup Ops Manager
Initial
complexity
Medium High Low High
System
overhead
High Low Low Medium
Point in time
recovery of
replica set
Yes * No Yes Yes
Consistent
snapshot of
sharded system
Yes * Yes * Yes Yes
Scalable No Yes Yes Yes
Restore time Slow Fast Medium Medium
* Possible, but need to write the tools and complex to setup and maintain
NOTE: You cannot use MMS or OPS Manager to backup Standalone MongoDB
20
Backup Configuration
21
How Backup Works
Replica Set
Shard 2 Shard 3Shard 1
Sharded Cluster
Production
MongoDB
Deployment
22
How Backup Works
Ops
Manager
Replica Set
Shard 2 Shard 3Shard 1
Sharded Cluster
Production
MongoDB
Deployment
Backup Daemon HEADs
Invisible secondary replicas
23
How Backup Works
Ops
Manager
MongoDB Database
Replica Set
Shard 2 Shard 3Shard 1
Sharded Cluster
Production
MongoDB
Deployment
Blockstore
Compressed,
deduplicated
snapshot storage
Restores
Snapshots consistent clustershot (sharded)
Backup Daemon HEADs
Invisible secondary replicas
24
Backup Restore
25
Test Restore
(If you can’t restore, you aren’t backed up)
Summary
27
Meet your RPO and RTO Objectives
with MongoDB
• Replication will help you meet stringent availability
requirements
• Backup with confidence using MongoDB tools
– Use MMS or Ops Manager to do point in time restores
with confidence
– Manual backup capabilities available
28
Get expert help: Planning,
Installing, Sizing Ops Manager
Ops Optimization
What is it?
A custom plan developed by a MongoDB consulting engineer for setting
up Ops Manager on your infrastructure
What to expect
• A plan for setting up Ops Manager in your data center
• Learn how to enable Ops Manager
• Figure out which metrics to monitor and how to enable a backup and
disaster recovery strategy
Find out more at mongodb.com
or email us at sales@mongodb.com
28
29
Useful Links
• MMS – https://mms.mongodb.com
• MMS Documentation: https://docs.mms.mongodb.com/
• Ops Manager Download:
http://www.mongodb.com/download
• Ops Manager Documentation:
https://docs.opsmanager.mongodb.com
30
Register now: mongodbworld.com
Use Code TojiGeorge for additional 25% Off
*Come as a group of 3 or more – Save another 25%
Questions?

More Related Content

What's hot (19)

PPTX
Introducing MongoDB in a multi-site HA environment
Sebastian Geib
 
PDF
Caching methodology and strategies
Tiep Vu
 
PDF
Gluster for Geeks: Performance Tuning Tips & Tricks
GlusterFS
 
PPTX
Webinar: Introduction to MongoDB 3.0
MongoDB
 
PDF
Redis for horizontally scaled data processing at jFrog bintray
Redis Labs
 
ODP
Gluster 3.3 deep dive
John Mark Walker
 
PDF
MariaDB Server Performance Tuning & Optimization
MariaDB plc
 
PPTX
Let the Tiger Roar! - MongoDB 3.0 + WiredTiger
Jon Rangel
 
PDF
Troubleshooting redis
DaeMyung Kang
 
PPTX
Get More Out of MongoDB with TokuMX
Tim Callaghan
 
PDF
MySQL Server Backup, Restoration, and Disaster Recovery Planning
Lenz Grimmer
 
PPTX
Webinar: MongoDB Management Service (MMS): Session 02 - Backing up Data
MongoDB
 
PDF
hbaseconasia2017: Large scale data near-line loading method and architecture
HBaseCon
 
PDF
MySQL topology healing at OLA.
Mydbops
 
PDF
Development to Production with Sharded MongoDB Clusters
Severalnines
 
PDF
Automating Gluster @ Facebook - Shreyas Siravara
Gluster.org
 
PPTX
Inside CynosDB: MariaDB optimized for the cloud at Tencent
MariaDB plc
 
PDF
Elephants in the Cloud
Mike Fowler
 
PDF
PostreSQL HA and DR Setup & Use Cases
Ashnikbiz
 
Introducing MongoDB in a multi-site HA environment
Sebastian Geib
 
Caching methodology and strategies
Tiep Vu
 
Gluster for Geeks: Performance Tuning Tips & Tricks
GlusterFS
 
Webinar: Introduction to MongoDB 3.0
MongoDB
 
Redis for horizontally scaled data processing at jFrog bintray
Redis Labs
 
Gluster 3.3 deep dive
John Mark Walker
 
MariaDB Server Performance Tuning & Optimization
MariaDB plc
 
Let the Tiger Roar! - MongoDB 3.0 + WiredTiger
Jon Rangel
 
Troubleshooting redis
DaeMyung Kang
 
Get More Out of MongoDB with TokuMX
Tim Callaghan
 
MySQL Server Backup, Restoration, and Disaster Recovery Planning
Lenz Grimmer
 
Webinar: MongoDB Management Service (MMS): Session 02 - Backing up Data
MongoDB
 
hbaseconasia2017: Large scale data near-line loading method and architecture
HBaseCon
 
MySQL topology healing at OLA.
Mydbops
 
Development to Production with Sharded MongoDB Clusters
Severalnines
 
Automating Gluster @ Facebook - Shreyas Siravara
Gluster.org
 
Inside CynosDB: MariaDB optimized for the cloud at Tencent
MariaDB plc
 
Elephants in the Cloud
Mike Fowler
 
PostreSQL HA and DR Setup & Use Cases
Ashnikbiz
 

Viewers also liked (11)

PPTX
An Introduction to MongoDB Ops Manager
MongoDB
 
PDF
MongoDB 3.2 Feature Preview
Norberto Leite
 
PDF
Webinar 5-reasons-object-storage.pptx
Cloudian
 
PPTX
Introducing Ops Manager
MongoDB
 
PPTX
Strategies for Backing Up MongoDB
MongoDB
 
PDF
Mongo db replication guide
Deysi Gmarra
 
PPTX
Basic Replication in MongoDB
MongoDB
 
PPTX
Webinar: Architecting Secure and Compliant Applications with MongoDB
MongoDB
 
PDF
MongoDB Europe 2016 - Star in a Reasonably Priced Car - Which Driver is Best?
MongoDB
 
KEY
Replication, Durability, and Disaster Recovery
Steven Francia
 
PPTX
Mongo db multidc_webinar
MongoDB
 
An Introduction to MongoDB Ops Manager
MongoDB
 
MongoDB 3.2 Feature Preview
Norberto Leite
 
Webinar 5-reasons-object-storage.pptx
Cloudian
 
Introducing Ops Manager
MongoDB
 
Strategies for Backing Up MongoDB
MongoDB
 
Mongo db replication guide
Deysi Gmarra
 
Basic Replication in MongoDB
MongoDB
 
Webinar: Architecting Secure and Compliant Applications with MongoDB
MongoDB
 
MongoDB Europe 2016 - Star in a Reasonably Priced Car - Which Driver is Best?
MongoDB
 
Replication, Durability, and Disaster Recovery
Steven Francia
 
Mongo db multidc_webinar
MongoDB
 
Ad

Similar to Webinar: Backups + Disaster Recovery (20)

PPTX
Backing Up Data with MMS
MongoDB
 
PDF
Silicon Valley Code Camp 2014 - Advanced MongoDB
Daniel Coupal
 
PPTX
Run MongoDB with Confidence Using MongoDB Management Service (MMS)
MongoDB
 
PPTX
MongoDB Management Service: Getting Started with MMS
MongoDB
 
PPTX
Walking the Walk: Developing the MongoDB Backup Service with MongoDB
MongoDB
 
PPTX
Beyond the Basics 1: Storage Engines
MongoDB
 
PPTX
Webinar: Keeping Your MongoDB Data Safe
MongoDB
 
PPTX
Running MongoDB 3.0 on AWS
MongoDB
 
PDF
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal
 
PPTX
MongoDB Management Service (MMS): Session 01: Getting Started with MMS
MongoDB
 
PPTX
Let the Tiger Roar!
MongoDB
 
PPTX
MongoDB backup service overview Boston MUG
MongoDB
 
PPTX
Back to Basics Webinar 6: Production Deployment
MongoDB
 
PDF
Let the Tiger Roar - MongoDB 3.0
Norberto Leite
 
PPTX
MongoDB Days Silicon Valley: Best Practices for Upgrading to MongoDB
MongoDB
 
PDF
MongoDB: Advantages of an Open Source NoSQL Database
FITC
 
PPTX
MongoDB Deployment Checklist
MongoDB
 
PDF
KoprowskiT_SQLDay2016_2AMaDisasterJustBegan
Tobias Koprowski
 
PDF
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
Tobias Koprowski
 
PDF
KoprowskiT_SPBizConf_2AMaDisasterJustBegan
Tobias Koprowski
 
Backing Up Data with MMS
MongoDB
 
Silicon Valley Code Camp 2014 - Advanced MongoDB
Daniel Coupal
 
Run MongoDB with Confidence Using MongoDB Management Service (MMS)
MongoDB
 
MongoDB Management Service: Getting Started with MMS
MongoDB
 
Walking the Walk: Developing the MongoDB Backup Service with MongoDB
MongoDB
 
Beyond the Basics 1: Storage Engines
MongoDB
 
Webinar: Keeping Your MongoDB Data Safe
MongoDB
 
Running MongoDB 3.0 on AWS
MongoDB
 
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal
 
MongoDB Management Service (MMS): Session 01: Getting Started with MMS
MongoDB
 
Let the Tiger Roar!
MongoDB
 
MongoDB backup service overview Boston MUG
MongoDB
 
Back to Basics Webinar 6: Production Deployment
MongoDB
 
Let the Tiger Roar - MongoDB 3.0
Norberto Leite
 
MongoDB Days Silicon Valley: Best Practices for Upgrading to MongoDB
MongoDB
 
MongoDB: Advantages of an Open Source NoSQL Database
FITC
 
MongoDB Deployment Checklist
MongoDB
 
KoprowskiT_SQLDay2016_2AMaDisasterJustBegan
Tobias Koprowski
 
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
Tobias Koprowski
 
KoprowskiT_SPBizConf_2AMaDisasterJustBegan
Tobias Koprowski
 
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 

Recently uploaded (20)

PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Learn Computer Forensics, Second Edition
AnuraShantha7
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Learn Computer Forensics, Second Edition
AnuraShantha7
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 

Webinar: Backups + Disaster Recovery

  • 1. 1 Register now: mongodbworld.com Use Code TojiGeorge for additional 25% Off *Come as a group of 3 or more – Save another 25%
  • 3. 3 Topics • Requirements around Availability and Backup • MongoDB Solutions • Tools for Backing up MongoDB
  • 4. 4 Requirements • “I need my data to be readable/writable in the face of infrastructure failures” – Memory, disk, server, network, rack, data center • “Need tunable resiliency depending upon failure scenarios” • “I want to be able to get my data back to yesterday 3:05 PM because an application change caused some erroneous updates”
  • 5. 5 Requirements • “I need my data to be readable/writable in the face of infrastructure failures” – Memory, disk, server, network, rack, data center • “Need tunable resiliency depending upon failure scenarios” • “I want to be able to get my data back to yesterday 3:05 PM because an application change caused some erroneous updates” Availability Backup
  • 6. 6 Considerations Effort and Cost to meet availability and backup requirements driven by: • RPO: Recovery Point Objective – How much data can you afford to lose? • RTO: Recovery Time Objective – How long can you afford to be offline?
  • 8. 8 • Automated replication and failover • Multi-data center support • Improved operational simplicity (e.g., upgrades, HW swaps) • Data durability and consistency MongoDB Replication for Availability
  • 9. 9 Single Data Center Automated failover Tolerates server failures Tolerates rack failures Number of replicas defines failure tolerance
  • 10. 10 Active/Active Data Center Tolerates server, rack, data center failures, network partitions
  • 11. 11 Replication Advantage • Built into MongoDB, only ops and infrastructure cost • Meet RPO with tunable durability – Acknowledge write from 1 to majority members of a replica set • Down for a very short interval – Failover time is in seconds
  • 13. 13 “We do not need backups for MongoDB” • We have replicated data • Multiple systems will not go down • We have good change control Why should you backup: https://www.mongodb.com/presentations/run-mongodb-confidence- backing-and-monitoring-mms
  • 14. 14 Solutions for Backup Manual Automated • mongodump/mongorestore • Storage level backups • MongoDB Management Service or Ops Manager
  • 15. 15 mongodump / mongorestore • Can be run online or offline • Oplog aware for point in time restores • Filter in, filter out • Considerations: – Data size/can be slow – Shard sync
  • 16. 16 Storage level backups • Flavors: – Copy files in your data directory (e.g. /data/db) – File system or block storage snapshots • Fastest way to backup/restore • Considerations: – Journal/consistency – Backup granularity (whole file system back up?) – Ops expertise – Storage of snapshots or data file backups
  • 17. 17 MongoDB Management Service (MMS) Ops Manager • Runs on our cloud (mms.mongodb.com) • Free service for Managing/Monitoring up to 8 servers • Paid service for Backup, First 1 GB Free • Runs in your cloud / data center • Included with MongoDB Enterprise Advanced http://www.mongodb.com/presentations/automate- mongodb-mongodb-management-service-mms http://www.mongodb.com/presentations/webinar- introducing-ops-manager Automation, for single-click provisioning, scaling & upgrades Monitoring, with charts, dashboards and alerts on 100+ metrics Backup and restore, with point-in-time recovery, support for sharded clusters
  • 18. 18 Steps for Backup MMS Ops Manager (Infrastructure already exists in the cloud) Setup MMS for Automation and Monitoring Infrastructure Size and setup MMS Backup infrastructure Start to monitor (and/or manage) your MongoDB deployment Deploy backup agents Start taking backups
  • 19. 19 Comparing backup approaches Mongodump File system MMS Backup Ops Manager Initial complexity Medium High Low High System overhead High Low Low Medium Point in time recovery of replica set Yes * No Yes Yes Consistent snapshot of sharded system Yes * Yes * Yes Yes Scalable No Yes Yes Yes Restore time Slow Fast Medium Medium * Possible, but need to write the tools and complex to setup and maintain NOTE: You cannot use MMS or OPS Manager to backup Standalone MongoDB
  • 21. 21 How Backup Works Replica Set Shard 2 Shard 3Shard 1 Sharded Cluster Production MongoDB Deployment
  • 22. 22 How Backup Works Ops Manager Replica Set Shard 2 Shard 3Shard 1 Sharded Cluster Production MongoDB Deployment Backup Daemon HEADs Invisible secondary replicas
  • 23. 23 How Backup Works Ops Manager MongoDB Database Replica Set Shard 2 Shard 3Shard 1 Sharded Cluster Production MongoDB Deployment Blockstore Compressed, deduplicated snapshot storage Restores Snapshots consistent clustershot (sharded) Backup Daemon HEADs Invisible secondary replicas
  • 25. 25 Test Restore (If you can’t restore, you aren’t backed up)
  • 27. 27 Meet your RPO and RTO Objectives with MongoDB • Replication will help you meet stringent availability requirements • Backup with confidence using MongoDB tools – Use MMS or Ops Manager to do point in time restores with confidence – Manual backup capabilities available
  • 28. 28 Get expert help: Planning, Installing, Sizing Ops Manager Ops Optimization What is it? A custom plan developed by a MongoDB consulting engineer for setting up Ops Manager on your infrastructure What to expect • A plan for setting up Ops Manager in your data center • Learn how to enable Ops Manager • Figure out which metrics to monitor and how to enable a backup and disaster recovery strategy Find out more at mongodb.com or email us at [email protected] 28
  • 29. 29 Useful Links • MMS – https://mms.mongodb.com • MMS Documentation: https://docs.mms.mongodb.com/ • Ops Manager Download: http://www.mongodb.com/download • Ops Manager Documentation: https://docs.opsmanager.mongodb.com
  • 30. 30 Register now: mongodbworld.com Use Code TojiGeorge for additional 25% Off *Come as a group of 3 or more – Save another 25%