How to restore a specific database from backup using the mongo restore command?
I created a backup of all my databases using mongodump command. Now I want to restore a specific database using the mongorestore command. How is this possible, I use this command: --db option then mongodb doesn't restore a specific database.
Use the following command to mongo restore:
mongorestore -d dbname dbpath