On this page
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:
- Stop the server.
- Restore the backup.
- Drop the Elasticsearch indexes by deleting the contents of
<SONARQUBE_HOME>/data/es8
directory. - 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.