'Import .zip file to mongoDB in ubuntu
I am using Ubuntu.
I was searching for importing dump.zip file to MongoDB, but only getting .json/.bson files import or to a specific collection.
Can someone please help me out importing a .zip file to MongoDB?
Thanks in advance.
Solution 1:[1]
Follow this list of steps:
- unzip folder_name.zip
- mongorestore --db database_name dump/folder_name
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jesus Guevara |
