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

Add option to only dump/restore collection metadata and indexes

    XMLWordPrintable

    Details

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

      Description

      Currently is not possible to dump or only restore metadata collection and indexes, would be a nice to have:

      • a mongodump option to only dump indexes and collection metadata, currently workaround is do dump one by one each collection adding a filter that doesn't match any document on _id
      • a mongorestore option to only restore collection metadata and indexes from an existing "classic" mongodump

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              renato.riccio Renato Riccio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: