Skip to content

Instantly share code, notes, and snippets.

@DevBrent
DevBrent / README.md
Last active April 13, 2018 15:53
MongoDB Index Export/Migration Tool

MongoDB Index Export/Migration Tool

Description:

Have you ever needed to copy your indexes from one platform to another without restoring a backup?

Instructions:

Run this script on the source database. You have one option which is to force the background option.

var always_background = true;