Export and Import Json in Mongodb


November 12, 2018 2 minutes mongodb , export , import

exporting in mongo db

mongoexport -d database_name -c collection_name -o file_name

importing in mongodb

mongoimport -d datbase_name -c collection_name file_name

See Also