Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12805

mongoexport: consider removing the warning regarding BSON types

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • manual

    Description

      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

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.adistambha@mongodb.com Kevin Adistambha
            Dan Dascalescu Dan Dascalescu
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              3 years, 15 weeks, 3 days ago