Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2914

Add an upsert/save option to mongorestore

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.1
    • Component/s: Tools
    • None
    • Environment:
      All
    • Fully Compatible

      mongorestore currently only performs inserts, and does not overwrite (upsert/save) existing records with the dump.
      It is beneficial in multiple cases to have such functionality, such as:
      1. Transferring data between environments
      2. Performing a destructive restore to rollback a server to a previous point in time

      Of course there are many more uses for this option... Please consider adding it in a future release.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shlomoid Shlomo Priymak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: