Other migration-related tasks

This article describes how to revert to the previous version of SonarQube Community Build and how to migrate the database to another vendor.

To update to SonarQube Server, see Moving to SonarQube Server.

Reverting to the previous version

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

  1. Shut down your SonarQube Community Build instance.

  2. Roll back your database to the backup you took before starting the update.

  3. Switch back to the previous version of your SonarQube Community Build installation.

  4. Start your SonarQube Community Build instance.

Migrating the SonarQube Community Build database to another vendor

To migrate your SonarQube Community Build database from one database vendor to another, use the Migrating database.

Moving from a ZIP file installation to a Docker installation

To move from a ZIP file installation to a Docker installation:

  1. Configure your Docker container to point to your existing database.

  2. Shut down your ZIP instance.

Updating a plugin

See Installing a plugin. For the Community Build, see Using Marketplace.

Downgrading to SonarQube Community Build

Ensure the target SonarQube Community Build version was released after the source SonarQube Server version. See Releases - Sonar Community for release dates of SonarQube Community Build and SonarQube Server. In most cases, migrating to the latest version of the target product will suffice.

However, if you are using the latest version of SonarQube Server, you may need to wait for the next version of SonarQube Community Build accordingly, typically available within a month.

Once the target version is confirmed, proceed with the standard update procedure.

To update your SonarQube Community Build to SonarQube Server, see Upgrading from SonarQube Community Build.

Last updated

Was this helpful?