-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Sonar Code Quality Testing Essentials
By :

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.
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.
![]() |
At filesystem level, keep a backup of the $SONAR_HOME
directory at frequent intervals. This can be automated via cron jobs on Linux or by using Windows Backup on Windows.
For more sophisticated backup solutions, have a look at Wikipedia's comprehensive list of backup software...
Change the font size
Change margin width
Change background colour