I want to know how to work with the shell locally in our system connecting to the databases in Atlas cluster. Exactly like the instructor is showing demo for import, export commands , where to execute them>?
Visit your MongoDB Atlas Cluster Webpage, click on
Then copy your
mongorestore query to export the contents of a database
You can paste these commands in your terminal/cmd and perform the operation.
I hope this helps!
can you please tell which terminal? I have used mongosh in compass but didn’t get anything, getting errors
Try it in your IDE terminal
If you have mongosh and mongotools installed on your local host you can try from there also
mongoexport,mongoimport are run from os prompt ($,# etc for Unix) and at (C:\ ) cmd prompt for Windows