I tried to dump database from atlas is done… but when i tried to restore the same database it failing
for restore database i used this command
mongorestore --uri “mongodb+srv://:@.mongodb.net/sample_supplies” --drop dump
error :
The --db and --collection flags are deprecated for this use-case; please use --nsInclude instead, i.e. with --nsInclude=${DATABASE}.${COLLECTION}
2022-08-19T14:39:22.401+0530 building a list of collections to restore from dump dir
2022-08-19T14:39:22.404+0530 don’t know what to do with subdirectory “dump\sample_guides”, skipping…
2022-08-19T14:39:22.405+0530 don’t know what to do with subdirectory “dump\sample_supplies”, skipping…
2022-08-19T14:39:22.405+0530 0 document(s) restored successfully. 0 document(s) failed to restore.
Help !!!