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

Tools have to know not to backup/copy docs in views

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.12, 3.3.14
    • Component/s: All Tools
    • Labels:
      None
    • Documentation Changes:
      Needed
    • Sprint:
      Server Tools 17 (7/15/16), Platforms 2016-08-26

      Description

      This might take some thought. I think there are valid use cases where the user does want to dump a backup/copy of docs from a view.

      mongodump will dump only metadata from views by default. We are going to add a --viewsAsCollections option to mongodump which will exclude normal collections and dump the data in views as a collection without the view metadata.

      Gabriel and I discussed this and decided that the tools should always not dump any metadata for views, given that the relevant information is already captured in the dump of system.views. Metadata for views will be dumped and system.views will be excluded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zach.snow Zach Snow
                Reporter:
                ian.whalen Ian Whalen
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: