xxxxxxxxxx
mongorestore --port <port> --db <destination database> <data-dump-path/database> --drop
xxxxxxxxxx
mongodump --db=<old_db_name> --collection=<collection_name> --out=data/
mongorestore --db=<new_db_name> --collection=<collection_name> data/<db_name>/<collection_name>.bson
xxxxxxxxxx
mongorestore --port 27017 --db restoredTest /mydata/restoredata/test --drop