Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97963

Create an exclude list containing collections that must NOT be dumped/restored

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 2

      We should provide a unique and centralized list of collections that should be excluded for dump/restore purposes and maintain it over time. The consumers of this list will be all internal and user facing backup/restore tools.

      The basic idea would be to expose an "internal:true" flag for collections that are not containing user data. The approach should be similar to the one adopted in SERVER-81864: the implementer should evaluate whether to add the field to the output of one or more of the following commands: listCollections, $listCatalog or $$listClusterCatalog.

      To determine whether a collection is internal, at moment it's probably just needed to look at the database it falls into (admin, config, local). Exposing the information at collection level rather than database level is a future-proof solution: the proposed structure also works if there will ever be internal collections falling under user databases.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: