Export/Import Indexes with collections
I recently moved to a new computer, set everything up, imported all my databases and collections just fine. The data seems fine but I lost all the indexes.
3
votes
David Broom
shared this idea
-
Frank commented
Belongs to the request: https://3t-io.uservoice.com/forums/265122-share-your-ideas-with-us/suggestions/6880787
-
Frank commented
Instead of mongoexport it would be better to use mongodump and mongorestore. Also it would be nice to save the complete database at once, as all individually collections. Instead of export you can name it then backup :-)