9.6 | Instance administration | Backup and restore

Was this page helpful?

On this page

Start Free

Backup and restore

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 <SONARQUBE_HOME>/data/es6 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