Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-125

add flag to mongorestore so it restores only oplog.bson, for use with --oplogLimit

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • Labels:

      mongorestore restores all data from a mongodump (with --oplog) as well as replays the oplog that acrued while the mongodump was being performed (e.g. dump/oplog.bson); there should be an option to just restore the oplog dumped as a result of using --oplog. This would allow increased control over the --oplogLimit flag; one can restore incremental parts of the oplog saved since the mongodump.

      • users would like to do a MongoRestore based on the full backup and then potentially multiple incrementals via oplog; the --oplogLimit flag should continue to allow the "apply all oplog entries up until x time" for all of the provided incremental oplog files.
      • "x time" may be any time point (when the incremental backup of oplog is taken) between the last full dump and the present time.

            david.golden@mongodb.com David Golden
            barrie Barrie Segal
            0 Vote for this issue
            5 Start watching this issue