Migrating database contents from the old SonarSource instance?

Hey,

I’m looking for some instructions on how to migrate the database contents from the old SonarSource instance, could someone point me towards the right direction?

Thanks in advance!

Hi,

Welcome to the community!

It’s not clear what you’re asking. SonarQube should do its own migration when you upgrade it; just point the new version at the DB used by the previous version and SQ takes care of the rest.

You might want to check the docs for your migration path, though.

 
HTH,
Ann

Hey,

Thanks for the response G Ann!

To clarify my question, I’m not upgrading but creating a new instance and wish to copy the old data from the previous one into this new instance.

Thanks a mil,
Leandro

Hi Leandro,

You just need to start by pulling a copy / backup of your DB. Then restore it somewhere and point your new instance at it.

 
HTH,
Ann