Manage configuration
Sonar allows to set up a environment promotion process. Indeed, you can for instance define new quality profiles in a test environment and put those quality profiles in your production environment once they are perfectly tested. To do that, you can export a Sonar instance's configuration to an XML file and import this same XML file in another Sonar instance. You can't currently define which part of a configuration need to be exported/imported, so all the configuration of the first Sonar instance will wipe the configuration of the second one.
Scope
The configuration described in this function relates to :
- Quality profiles (rules + alerts)
- Definition of manual metrics
- Definition of events categories
- Parameters defined in the settings section (plugins)
- Personalization of the All Projects page
Backup
In order to backup the configuration, sign in, go to configuration and select the Backup / Restore entry in the left menu :

Click on Backup and save the xml file on your disk.
Restore
In order to restore the configuration, sign in, go to configuration and select the Backup / Restore entry in the left menu :

Select the xml file to restore and click restore.
| WARNING This will wipe ALL existing configuration |
