MongoDB Tools
1 min read
The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment. The Database Tools include the following binaries:
• bsondump - display BSON files in a human-readable format
• mongoimport - Convert data from JSON, TSV or CSV and insert them into a collection
• mongoexport - Write an existing collection to CSV or JSON format
• mongodump / mongorestore - Dump MongoDB backups to disk in .BSON format, or restore them to a live database
• mongostat - Monitor live MongoDB servers, replica sets, or sharded clusters
• mongofiles - Read, write, delete, or update files in GridFS
• mongotop - Monitor read/write activity on a mongo server