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

mongodump with --oplog option and included/excluded databases

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongodump
    • 3
    • 1,889
    • Needed

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            akira.kurogane Akira Kurogane
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: