About the migration script
The upgrade_mongo.sh script automates the database migration process
to ensure that you do not lose data during the upgrade. When you execute the script, it
automatically performs the following sequence of steps:
- Extracts a temporary Java environment.
- Performs a pre-upgrade backup of your existing MongoDB container and data.
- Moves the data to the installation folder.
- Patches the configuration and installation files.
- Restores the data to the target MongoDB version.
- Performs a final cleanup of the temporary backup files.