mongodump
命令手册Utility to export the contents of a MongoDB instance. More information: https://docs.mongodb.com/manual/reference/program/mongodump.
mongodump
mongodump --out {{path/to/directory}}
mongodump --db {{database_name}}
mongodump --collection {{collection_name}} --db {{database_name}}
mongodump --host {{host}} --port {{port}}
mongodump --username {{username}} {{database}} --password