MongoDB Using Replica Sets as a Backup

MongoDB implements a form of replication they call replica sets. Referring to a repica set instead of just calling it replication is a helpful distinction that becomes more obviously useful when you are introduced to sharding in MongoDB since each shard should be comprised of a set of replicas unique to that shard, but we’ll get to that later.

For now, I want to show you how easy it is to setup and use replica sets. The setup and initial ‘recovery’ of data to all replicas in the set is quite simple. In this video I walk you through the entire process. The video is HD, so be sure to watch it full screen to get all the details.


To install MongoDB see my hands on introduction.

Twitter Digg Delicious Stumbleupon Technorati Facebook Email

About Daniel Watrous

I'm a Software & Electrical Engineer and online entrepreneur.


  1. Hands on MongoDB introduction and installation | Daniel Watrous on Software Engineering - October 12, 2011

    […] you’re done with this, go have a look at how to improve MongoDB’s reliability using replica sets. Share Software Engineering bson, database, json, linux, mongo, mongodb, […]

  2. MongoDB – Boise Code Camp 2012 | Daniel Watrous on Software Engineering - March 24, 2012

    […] Welcome to Boise Code Camp, 2012. This year I decided to present on MongoDB. In a previous presentation on MongoDB and some video training I cover installation and configuration and using replica sets. […]

Leave a Reply