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

mongoexport: consider removing the warning regarding BSON types

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual
    • Labels:

      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

            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since reply:
                31 weeks, 5 days ago
                Date of 1st Reply: