This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

See latest version
Start Free
10.5 | Instance administration | Backup and restore

Backup and restore

On this page

Backing up data

Most databases come with backup tools. We recommend using these tools to back up your data.

Restoring data

To restore data from the backup and or trigger a full Elasticsearch reindex, follow these steps:

  1. Stop the server.
  2. Restore the backup.
  3. Drop the Elasticsearch indexes by deleting the contents of <sonarqubeHome>/data/es8 directory.
  4. Restart the server.

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License