[DOCS-12805] mongoexport: consider removing the warning regarding BSON types Created: 14/Jun/19  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Kevin Adistambha Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: Tools
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769
Story Points: 0.1

 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.)



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Comment by Dan Dascalescu [ 15/Jun/19 ]

Great to see this ticket as a result of our discussion! The warning against mongoexport/import is very widespread, and in the hours I've spent on StackOverflow looking for a workaround to TOOLS-121, I haven't seen a single mention that it might be obsolete.

Generated at Thu Feb 08 08:06:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.