Add an upsert/save option to mongorestore

XMLWordPrintableJSON

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

      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
            Reporter:
            Shlomo Priymak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: