mongodump tool is a tool provided for MongoDB export data, specific usage refer to the official document: https://docs.mongodb.com/manual/reference/program/mongodump/
example:
1 export is designated 27017mongo local DB 2 mongodump Example -u -p 123456 -d -o Example ./ . 3 designated Host, Port, User, password . 4 mongodump mongodb1.example.net --host --port 37017 --username User --password " Pass " --out / opt / Backup / mongodump- 2011 - 10 - 24-
bsondump tool is used to format the data derived bson into a readable format: