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

Mongorestore: using --drop will fail if the restore user is not in the dump restore

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      The user must be very careful when using --drop option in mongorestore. If the restore user does not exist then the DB will be dropped before it is restored from the dump file and then fail in the middle, leaving the user with an empty DB.

      See SERVER-14195 for the details.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 32 weeks, 1 day ago