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

Documentation on --repair command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • # Replies:
      3
    • Last comment by Customer:
      true
    • Story Points:
      0.5
    • Sprint:
      KANBAN BUCKET

      Description

      https://docs.mongodb.com/manual/reference/program/mongodump/
      "--repair is only available for use with mongod instances using the mmapv1 storage engine. You cannot run --repair with mongos or with mongod instances that use the wiredTiger storage engine. To repair data in a mongod instance using wiredTiger use mongod --repair."

      I think we should clarify that mongod --repair is the preferred method to recover data after experiencing data corruption regardless of storage engine, and possibly link to https://docs.mongodb.com/manual/tutorial/recover-data-following-unexpected-shutdown/

        Attachments

          Activity

            People

            Assignee:
            andrew.aldridge Andrew Aldridge
            Reporter:
            diana.esteves Diana Esteves
            Participants:
            Last commenter:
            Githook User
            Docs Reviewer:
            Anthony Sansone
            External Reviewer:
            Kelsey T Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              2 years, 28 weeks, 2 days ago
              Date of 1st Reply: