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

    • New Feature
    • Status: Accepted
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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

              Unassigned Unassigned
              renato.riccio@mongodb.com Renato Riccio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: