[SERVER-2914] Add an upsert/save option to mongorestore Created: 07/Apr/11  Updated: 18/Sep/12  Resolved: 07/Apr/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 1.8.1
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Shlomo Priymak Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Issue Links:
Duplicate
duplicates TOOLS-121 Add upsert option to MongoRestore Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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.



 Comments   
Comment by Shlomo Priymak [ 31/Jul/11 ]

You probably meant to link to https://jira.mongodb.org/browse/SERVER-2913

Comment by Eliot Horowitz (Inactive) [ 07/Apr/11 ]

See SERVER-2914

Generated at Thu Feb 08 03:01:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.