To be clear, SonarQube Server and its database should ideally be on separate hosts. Thus, to “move” SonarQube, you would only install it on the new host and point it at the existing database.
If you really need to move the database as well, and that involves changing the JDBC URL, then you’ll need to get a new license key, although there is a grace period for that built in to current versions.
Hi,
Currently we have both database and sonarqube server within the same host. Given the dimensions of usage we found that we could have both database and server within the same host. The problem we have is that Amazon Linux 2 is getting to end of life so we can’t have anything over there and we need to move it to Amazon Linux 2023. Isn’t there any guide on taking backup of the database and restore it on the new server? I saw that we can take the db dump and use it to restore in the new server. My request is more on official documentation that describes in detail these sort of migration. Regarding the license issue, we don’t want to affect the existing server during the migration process because with that, it would affect whole development team. We want to assure this migration with 0 impact to the development team.