MongoDB
 sql >> Database >  >> NoSQL >> MongoDB

Comandi MongoDB da DOS o Windows

Usa mongodump, digita:

./mongodump --db your_db_name --collection collection_name  

e poi mongorestore:

./mongorestore --db=new_db_name

Per saperne di più:mongodump e mongorestore