Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download and unzip the GEOJobe-Products-MongoDB-Backup-Restore.zip file into a directory on the server.

  2. Extract the mongodb-database-tools-windows-x86_64-100.5.2 to a folder. These include the mongoimport and mongoexport commands.

  3. You will need to add the extracted bin directory to your PATH environment variable in order to access the mongoimport and mongoexport files:
    Example path: C:\Users\YourUser\Downloads\GEOJobe-Products-MongoDB-Backup-Restore\mongodb-database-tools-windows-x86_64-100.5.2\bin

    1. Open The Control Panel

    2. In the ‘System and Security’ category, click ‘System’

    3. Click ‘Advanced System Settings’. The ‘System Properties’ modal will display.

    4. Click ‘Environment Variables’.

    5. In the ‘System Variables’ section, select ‘Path’ and click ‘Edit’. The ‘Edit Environment Variable' modal will display.

    6. Click ‘New’ and add the filepath for the location you placed the database tools.

    7. Click ‘Ok’ on each of the modals to confirm your changes.

  4. In the command prompt, navigate to the extracted BMO-CMO- Backup-Restore directory and run at-export.bat, bmo-export.bat, cmo-export.bat and/or cmoscheduler-export.bat for each product you own. If you have previously created your JSON collection files from another server, copy them into the /bmocollections and /cmocollections directories respectively instead of running the export file.

  5. Verify that the collections JSON in the /atcollections, /bmocollections, and/or /cmocollections directories have JSON files.

  6. Install your new MongoDB Community version.

  7. Run the at-import.bat, bmo-import.bat,cmo-import.bat and/or cmoscheduler-import.bat to restore the database collections respectively.

  8. Install the Admin Tools, BackupMyOrg, CleanMyOrg and/or CleanMyOrg Scheduler applications to their previous file locations if needed.

...