We recently wanted to migrate our Octopus Server installation from one server to another. I didn’t find any guidance for this. I have completed it successfully but encountered an issue that I thought I would let you know about. I don’t know how would be best to resolve it logically, but, that’s what you guys are for
On the existing installation the server application was installed on the G drive and thus in the SQL database the Configuration table has log entries (activitylogstorage-single and artifcatsstorage-single) that are folders on the G drive. I took a backup using the utility in the management console.
I then installed Octopus on the new server but on the C drive this time. When attempting an import of the backup it kept failing (exception being thrown) because it couldn’t find the folder referenced under artifactsstorage-single because it was expecting this to be on a G drive.
I resolved this by manually changing the drive letter in the database.
I would have thought this (server machine?) specific configuration would have been kept against the OctopusServerNode database objects?
Maybe I did the process wrong though…