/mongodump-parser

Parse mongodump archives

Primary LanguageGoApache License 2.0Apache-2.0

mongodump-parser

This Repository is NOT an officially supported MongoDB product.

This simple tool reads a mongodump archive on its standard input, parses the archive’s header & collection metadata, then writes the result as a MongoDB Extended JSON document to standard output.

To build it, just run go build.

To test it with the included test archive, run cat test.dump | ./mongodump-parser. (Append | jq to that command to improve the output’s legibility.)