Start Free
10.4 | Instance administration | Backup and restore

Was this page helpful?

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.

© 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