MongoDB Backup and Restore Commands

For more posts regarding MongoDB, please click on Index   Mongodump creates a binary export of MongoDB data in BSON format. It’s ideal for logical backups and supports replica set consistency with the –oplog option. MongoDB Utilities : Mongoexport : Export...

Replication in MongoDB

https://youtu.be/OWpiccVVNwU?si=jg7ryOK1Jxw9v8eW   Replication is implemented via replica sets—a self-healing group of mongod processes that maintain the same dataset.   Replica set architecture Primary: Accepts all writes. Records each write in the oplog...

MongoDB Basic Commands

NOTE : We will use the below in the entire document for learning purpose :   DB  Name : infra Collection Name : topics 1. Create a database : User Infra Note : Creating a database is only possible, once you add a collection to it 2. Create a collection : Here we...

MongoDB Blogs

1. MongoDB Basics 2. MongoDB Basic Commands 3. Replication in MongoDB 4. MongoDB Backup and Restore Commands      ...