Skip to content

MongoDB Cheat Sheet

mongodump

mongodump --db FSDB --collection _MAIN mongodump FSDB --collection _MAIN


mongosh $MDB_CONNECTION_STRING;

cls
db
use FSDB
mongodump -d FSDB -c _MAIN;