Search code examples
mongodbmongodb-compass

How to migrate from MongoDB Compass Community version?


I am new to MongoDB and installed MongoDB Compass Community version while installing MongoDB. I would like to migrate from Compass Community to Compass. I am having some hard time to follow the steps. The compass version is DMG file, I converted it to ZIP and extracted the files from folder. I don't find any .exe to launch the Compass App. Not sure what I am missing here. Files and folders I see after extraction

https://docs.mongodb.com/compass/master/upgrade/#upgrade-compass


Solution

  • Following is what I did for my migration from MongoDB Compass Community edition in Windows10.

    1. I uninstalled the MongoDB Compass Community edition.
    2. I downloaded and installed MongoDB Compass(Windows 64 bit MSI) from the url Upgrade MongoDB Compass
    3. I started new MongoDB Compass then.
    4. Went to the following folder in File Explorer.

      C:\Users\userName\AppData\Roaming\MongoDB Compass Community

    5. Copied the folders Connections, FavoriteQueries, RecentQueries, SavedPipelines from 'MongoDB Compass Community' folder to 'MongoDB Compass' folder which was in the same location.

    6. Then I just stopped and restarted MongoDB Compass. I saw my old connections, favorites from Community edition.

    So I will suggest you to clean up your MongoDB Compass first and follow the above steps for smooth migration.