Restore Collection : Import collection

mongorestore --uri “mongodb+srv://:@.mongodb.net” --drop dump --nsInclude=“sample_supplies.sales”

For latest mongo shell, you can use this query to restore your database.

1 Like