mongodb Mongo DB NoSQL 

How to bulk import/export data in MongoDB Atlas

Before Starting MongoDB Atlas import/Export steps, first whitelist your IP address from where you are trying to access. In MongoDB, we use “mongodump” for exporting the existing database as a backup and we use “mongorestore” form importing the backup data back to mongo. Mongo Atlas bulk Export all collections To Export, you can use this below-mentioned command syntax Mongo Atlas bulk Import all collections To Import, you can use below mentioned command syntax I hope this will help you backup and restore the remote MongoDB database for mongo AtlasIf you…

Read More
mongodb Amazon(AWS) linux Mongo DB NoSQL 

How to Install MongoDB Server in Ubuntu AWS EC2 updated in 2020

MongoDB is a free and open-source NoSQL database used in modern-day web applications. In this article, we will install and configure security auth features. #1 Step: installing MongoDB server First Update your ubuntu so that all the latest LTS settings can configure. Install Mongo using below command Note: If any error occurred while installing please refer below.Click here for force install solution #2 Step: Verifying and configuring server autostart By now the database server is automatically started after installation. if not you can follow the below step. How to verify whether…

Read More
mongodb Mongo DB NoSQL 

How to update nested sub-documents in Mongo DB

Updating sub-documents in NoSQL Mongo DB is bit trickey, so here we have come up with an solution how to update level 1 and level 2 nested subdocuments. Lets Consider below document as example: For the above document level, 1 update operation looks like below. Here we are updating forecast’s first id name from “Forecast 1” to “New Forecast 1”  for this one updateOne finds works fine. as written in below code For the above document level 2 update operation looks like below. Here we are updating forecasts first id…

Read More