Migrating Sonar to a different host
2014-01-30Just a few notes on how to move your sonar installation to another machine without loosing any of your config and/or history. Some of that include the normal installation steps too. This list is specific to debian.
Add the sonar debian repo to your machine (/etc/apt/sources.list.d/sonar)
|
|
Update and install sonar (sonar pkg is not signed):
|
|
Install postgresql and set up an account for your sonar:
|
|
Dump the database on the old machine, copy to the new one and import there:
|
|
Copy a bunch of other files/directories from old to new:
|
|
Start your new sonar and have a look at the log if everything’s ok:
|
|