How to do Mongorestore


1. Get the mongodump for the database
2. Connect to mongoconsole
3. Create the database and switch to that new database into which data needs to be imported.










4. Get the mongodump file for the database from which ever box.
5. Copy to a folder and extract the contents into the folder
6. Open a command window, navigate to that folder 
7. Execute the command "mongorestore **the name of the mongodb dump**




No comments:

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days