I am currently upgrading my SonarQube setup and migrating its database. Here’s my current configuration:
Current SonarQube Version: 7.9 (Community Edition)
Current Database: Internal PostgreSQL 12
Target Database: AWS RDS PostgreSQL 13
New SonarQube Instance: 9.9 (Community Edition)
I want to migrate the existing data from the internal PostgreSQL 12 database (used by SonarQube 7.9) to an AWS RDS PostgreSQL 13 instance. After migrating the database, I intend to connect it to a new SonarQube 9.9 instance.
Any advice or guidance on how to overcome these challenges would be greatly appreciated!
Thank you!
Martin Luther
There is no direct migration from 7.9 to 9.9. So you need to migrate from 7.9.1 → 8.9.10 and then from 8.9.10 → 9.9
The pd_dump and restor is used just for copying the database, the migration is handled by the new version but there's some manual operations to do after migration (rebuild indexes, drop unused columns ....)