# Other migration-related procedures

## Reverting to the previous version <a href="#revert-previous" id="revert-previous"></a>

If you need to revert to the previous version of SonarQube, the high-level rollback procedure for all deployments is as follows:

1. Shut down your SonarQube instance or cluster.
2. Roll back your database to the backup you took before starting the upgrade.
3. Switch back to the previous version of your SonarQube installation.
4. Start your SonarQube instance or cluster.

## Moving to another SonarQube edition <a href="#another-edition" id="another-edition"></a>

To move to another SonarQube edition during an upgrade:

* Follow the instructions in the respective upgrade section below on the [upgrade](https://docs.sonarsource.com/sonarqube-server/10.4/setup-and-upgrade/upgrade-the-server/upgrade "mention") page by using the appropriate edition file or Docker image tag:
  * Upgrading a ZIP file instance
  * Upgrading a Docker image instance
  * Upgrading a Helm chart instance

To move to another SonarQube edition without upgrading your SonarQube version:

* Follow the instructions in the respective upgrade section on the [upgrade](https://docs.sonarsource.com/sonarqube-server/10.4/setup-and-upgrade/upgrade-the-server/upgrade "mention") page:
  * By using the appropriate edition file or Docker image tag.
  * Without navigating to `http://<yourSonarQubeServerURL>/setup` or reanalyzing your projects.

## Migrating the SonarQube database to another vendor <a href="#another-db-vendor" id="another-db-vendor"></a>

To migrate your SonarQube database from one database vendor to another, use the [sonarqube-db-copy-tool](https://docs.sonarsource.com/sonarqube-server/10.4/instance-administration/sonarqube-db-copy-tool "mention").
