Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-646

mongodump with --oplog option and included/excluded databases

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Accepted
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
    • Documentation Changes:
      Needed
    • Case:

      Description

      To use mongodump as an effective, easy-to-implement solution for backing up a database in a replica, the need to filter by database is required.

      The requirements are:
      * Use the --oplog option, so that it's more likely that the data backed up is consistent.
      * Exclude one of the logical databases from the backup - or alternatively, only include a subset of the logical databases in the backup.

      Unfortunately, the --oplog option only works with a full dump - i.e., it is incompatible with the -d option.

      The best option would be one that allows to either include several databases OR exclude a database. And it would be important that the oplog dump filters out the operations on namespaces on databases that are excluded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-tools Backlog - Server Tools Team
                Reporter:
                akira.kurogane Akira Kurogane
              • Votes:
                5 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: