mongodb restore collection from bson code example
Example 1: mongo restore collections
mongorestore --port 27017 --db restoredTest /mydata/restoredata/test --drop
Example 2: mongo restore collections
mongorestore --port <port> --db <destination database> <data-dump-path/database> --drop