Minor upgrade of Percona Distribution for MongoDB

To receive bug fixes and feature enhancements that come with minor releases, keep your Percona Distribution for MongoDB upgraded to the latest version.

Before the upgrade, we recommend to back up your data in order to be on the safe side if anything goes wrong.

Similar to installing, Percona Distribution for MongoDB is upgraded from Percona repositories using the percona-release utility. Update percona-release to the latest version using these instructions. This is required to install new version packages of Percona Distribution for MongoDB.

Run the following commands as root or by using the sudo command.

The upgrade procedure includes the following steps:

Enable Percona repository

If you installed Percona Distribution for MongoDB from the Major release repository, this step is optional. This repository automatically includes new version packages and you receive a prompt for an upgrade from the package manager of your operating system.

If you installed Percona Distribution for MongoDB from the Minor release repository, you must enable the new version repository (e.g. pdmdb-4.4.0) to upgrade. We recommend to use the setup subcommand:

$ sudo percona-release setup pdmdb-4.4.0

Stop the service

Stop Percona Server for MongoDB:

$ systemctl mongod stop

Stop pbm-agent:

$ systmectl pbm-agent stop

Install new version packages

Install Percona Server for MongoDB and Percona Backup for MongoDB using the package manager of your operating system. Please refer to the Install packages section for the corresponding installation instructions.

Restart the service

Start Percona Server for MongoDB:

$ systemctl mongod start

Start pbm-agent:

$ systmectl pbm-agent start

Contact Us

For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or professional services, contact Percona Sales.