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

Add option to only dump/restore collection metadata and indexes

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

      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

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

              Created:
              Updated: