Sonarqube data migration for new instance

we have our existing sonarqube on 7.1 and has setup a sonarqube-2 with 8.9.6 (via 7.9.6 LTS).
Both the instances are on same Postgres DB and would like to know the process of getting the same projects or data to new instance ?
will taking a db copy from sonarqube-7.1 and importing into sonarqube-8.9.6 works ?

Hi,

There is no export/import between versions.

To get the data from your 7.1 instance up to 8.9, you’re going to need to upgrade that instance, step by step.

Your upgrade path is:

7.1 → 7.9.6 → 8.9.6

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

 
HTH,
Ann

Thanks Ann, I see.

Is Project import/export or DB restore possible if target instance is on exact same community version i.e 7.1 for source and Target.

Hi,

Project export is not available for CE in 7.1. Project import is not available for CE in any version.

Since there are schema changes with each new version of SonarQube, DB restore is not an option here either. Or rather, once you ‘restore’ it, you’ll face going through the same migration steps as on your original DB.

 
Ann