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

mongodump with --oplog option and included/excluded databases

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Accepted
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • mongodump
    • Needed

    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

              backlog-server-tools Backlog - Server Tools Team
              akira.kurogane Akira Kurogane
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: