Hi everyone,
we are currently in the process of setting up a new build server to replace our existing one. Is it possible to somehow migrate a Continua installation between machines or are we better off just setting it up again from scratch?
Hi,
We don’t have a formal migration process, but almost everything is stored in the database.
Take a back up of the database (see the wiki page for backing up the Continua database), install Continua on the new machine, then restore the backed up database over the database created. You may also need to copy over any settings that you have changed in the Continua.Server.Service.exe.config file.
Of course any paths specified in the configurations will need to be updated to point to folders accessible on the new server.
We plan to implement backup/restore functionality in a future version of the product.
Thanks. I will do that.
I have successfully migrated the database to our now server and Continua runs just fine.
However when it sends out notification mails the variable BuildUrl still contains the url of the old server. How would I go about changing this?
Did you customize the server url in the Continua.Server.Service.exe.config file? That would be my guess.
I did not specifically customize the server url and I could not find any reference to the old server name in the config file either.
You can hard code the server url in the config file using :
[code] …<externalurl url="http://yourhostname" /></continua-configuration>[/code]
Okay I found the error. I had to change the server property server.hosturl to the new server name and now the emails are correct too.
Ah yes, I had forgotten about that property. It overrides the config file setting (which overrides the auto detection). Need to get that documented.