Use mongodump, Escriba:
./mongodump --db your_db_name --collection collection_name
y luego mongorestore:
./mongorestore --db=new_db_name
Leer más:mongodump y mongorestore
Use mongodump, Escriba:
./mongodump --db your_db_name --collection collection_name
y luego mongorestore:
./mongorestore --db=new_db_name
Leer más:mongodump y mongorestore