Recommended Process of Upgrading TeamCity 4.5.x to 6.x


Our development team has been using TeamCity for some time now and unfortunately, we haven't been diligent enough to upgrade TeamCity instances as frequent as we should.  We're currently running an instance which is at version 4.5.6 build 9140 (enterprise edition) and want to take advantage of all the new features in 6.0.x but want to get guidance as to how we should proceed.

It doesn't seem like there is a straight forward method of upgrading between two versions so any help is greatly appreciated.

Current teamcity instance contains twenty-nine projects and eighty-three build configurations.  Software is being run on a Linux server with connection to MS SQL database.  Please note that we'd like to change the database portion of the set-up to PostgreSQL instead.

Furthermore, current size of file system which contains all data (including artifacts, main installation) is approximately 48GB.

Please let me know if you need any additional information to asistance us with this major task...

Thank you,
Oscar Almendarez

Comment actions Permalink

Hi Oscar

I have a post on my blog about upgrading from 5.x to 6.x

This may be of some use to you for working out the process

hope it helps


Comment actions Permalink

Hi Oscar

TeamCity can be upgraded directly from 4.x to 6.x.
Main procedure is described at Upgrade page.
Also take a look at

Comment actions Permalink

Please help me understand which "Upgrade" documenation I should be looking at because documenation for version 4.5.x is very different than 6.5.x which is the link you provided. Futhermore, it seems like version 4.5.x does not have a "maintainDB" utility which I can use to create a backup and restore.  If that is the case, what is procedure in creating a backup on 4.5.x instance and restoring it to a new server?

Is the backup and restore procedure done manually? (e..g have DBA create a dump of external db instance and restore to a new DB?)



Please sign in to leave a comment.