Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Compass
Created by Guest
Created on Sep 24, 2019

Allow to import/export indexes

Add import/export index capability via Compass. Would be nice to also to automatically generate the createIndexes (https://docs.mongodb.com/manual/reference/command/createIndexes/) command for build a set of indexes.
  • Vagner Pontes
    Nov 3, 2025

    We are migrating relational database workloads at Santander Global. I have a situation with Pagonxt Payments where we need this functionality. The client does not have direct access to the database; they only have access via Data Explorer. They don't have MongoDB or any way to execute code to manually extract DDLs.


    We are negotiating a flex commit of approximately US$1.5 million with Getnet/Pagonxt.

  • Guest
    Mar 16, 2022
    The article at https://www.alexbevi.com/blog/2021/09/24/copy-mongodb-index-definitions/ has a script that can be used to automatically generate the createIndexes commands.