Setup Mongo Replica Set

For a project, I am trying to setup Mongo and Elasticsearch. So, both I need to create mongo replica set. Basically, we actually don’t need to do much with mongo replica set. We only need replica set so that replication log of mongo are created and then mongo-connector uses this log to update elastic search with almost the real-time data.

How to setup replication set on MongoDB?

Continue reading “Setup Mongo Replica Set”

Dump, Compress and Upload

This post is about this random thing that I am doing for the second time and I realized that I have to again search on Google about it because I forgot a few things. I am documenting the process to mongodump the database->compress the file->upload to dropbox from a remote server(when you are completely dependent on a terminal and can’t use a dropbox UI).

Continue reading “Dump, Compress and Upload”