La versión 3.2 introdujo gzip y archive opción:
mongodump --db <yourdb> --gzip --archive=/path/to/archive
Luego puede restaurar con:
mongorestore --gzip --archive=/path/to/archive
La versión 3.2 introdujo gzip y archive opción:
mongodump --db <yourdb> --gzip --archive=/path/to/archive
Luego puede restaurar con:
mongorestore --gzip --archive=/path/to/archive