When I upgraded our Octopus server, I used a temporary database server for the new Octopus database. I need to move the database to our production database server. I have a plan I would like your comments on before I try it:
- Shut down Octopus server
- Backup SQL database
- Restore SQL database on production server
- Change the data source element in Octopus.Storage.ExternalDatabaseConnectionString setting in “OctopusServer.config” to my new SQL server
- Start Octopus server
Will that work, or is there some background magic related to the DB server?
Thanks for reaching out. You should be good with those steps for the DB migration. No spells required
If you are using the built-in repository and you also want to migrate the NuGet packages, you’re gonna have to do that part manually. For this check step 5 on this guide http://docs.octopusdeploy.com/pages/viewpage.action?pageId=3048133
This was after the upgrade from 2.6 to 3 was finished All packages etc. was already in place. The database was simply running on the wrong database-server.
I can confirm that the Octopus Server works just fine after following the 5-step procedure I listed above