-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
-
0.1
Description
The mongoexport doc page: (https://docs.mongodb.com/manual/reference/program/mongoexport/) contains a big red warning:
Avoid using mongoimport and mongoexport for full instance production backups. They do not reliably preserve all rich BSON data types, because JSON can only represent a subset of the types supported by BSON. Use mongodump and mongorestore as described in MongoDB Backup Methods for this kind of functionality.
Since mongoexport by default outputs extended JSON to cater for this, is this warning still relevant?
Scope of changes
- Investigate current state of mongoimport and mongoexport BSON support.
- Document and backport as needed