Backing up your data

It is crucial for the administrator to prepare a back up and restore plan in case of data loss or corruption. Sonar offers a backup and restore solution for its configuration data, but filesystem and database backups have to be taken care of manually, by the system's administrator.

Sonar instance configuration backup

Log in to Sonar as administrator, click on the Configuration link on the top of the dashboard, and then click on Backup from the left-hand side menu under the SYSTEM options. Click on the Backup button to download the instance's configuration in XML format. Restore the downloaded XML file in another Sonar instance to duplicate the configuration of a previous install.

Filesystem backup

At filesystem level, keep a ...

Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.