How to migrate one Sonarqube to another(5.6.6 EE)

Hi Team,

I have 2 different sonarqube instances having same version (5.6.6 Enterprise Edition),
want to migrate all the projects in to 1, and then upgrade to 6.7 LTS.

I need a proper plan and the strategies to achieve this.

Kindly help on the above scenario.

Best Regards,

Hi,

You don’t mention which edition you’re on. The Enterprise Edition includes the ability to export a project from one instance and import it into another. Sorry, I don’t remember any more what version that starts in, but I know it’s present in 6.7. So you might want to upgrade both instances to 6.7, and then consolidate.

And BTW, other than project export/import, there’s no way to consolidate multiple instances. You would just have to pick one of them and perhaps try to recreate the history of the projects from the other instance using sonar.projectDate. Note that this is tedious and error-prone, and you can’t do it retroactively or backwards. Your first analysis of a project has to be with the oldest date you want included in your history.

 
Ann

And on top of @ganncamp reply, here is the link to the so-called “Project Move” feature, available only in Enterprise Edition 6.7 LTS (at least): https://docs.sonarqube.org/display/SONARQUBE67/Moving+Projects

Carine

1 Like