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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.golden David Golden
              Reporter:
              barrie Barrie Segal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: