Answers for "mongodb export database to json file"

6

mongodb export entire database

// EXPORT
mongodump -d <database_name> -o <directory_backup>
// IMPORT
mongorestore -d <database_name> <directory_backup>
Posted by: Guest on May-26-2020
0

mongoDb Importar json para DataBase

mongoimport --db test --collection user --drop --file ~/downloads/user.json
Posted by: Guest on August-19-2021
0

how to export mongodb database to json

sudo mongoexport --db newdb -c restaurants --out newdbexport.json
Posted by: Guest on August-09-2020

Code answers related to "mongodb export database to json file"

Browse Popular Code Answers by Language