On this page

Backing up dataRestoring data

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/es8 directory.
  4. Restart the server.

© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.

Creative Commons License