# 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.5/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.5/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.5/instance-administration/sonarqube-db-copy-tool "mention").


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/10.5/setup-and-upgrade/upgrade-the-server/other-procedures.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
