- Step 1: Backup TeamCity Database Data.
- Step 2: Stop TeamCity Services.
- Step 3: Backup TeamCity Data Directory.
- Step 4: Install a matching version of TeamCity onto the new server.
- Step 5: Configure Environment Variables for Java.
Keeping this in consideration, how do I restore a backup on TeamCity?
- On the TeamCity First Start step of the browser dialog, enter the path to the Data Directory and click Restore from backup.
- Enter an absolute path to the backup directory on the TeamCity server or upload a ZIP archive with the backed up data.
- Choose the target database.
- Proceed with the restoration.
Secondly, where is the TeamCity data directory? By default, the <TeamCity data directory> is placed in the user's home directory (e.g. it is $HOME/. BuildServer under Linux and C:Documents and Settings<user_name>. BuildServer ) under Windows.
In respect to this, how do you upgrade TeamCity?
The general approach to upgrade is to remove all the files of the previous installation in the TeamCity server home and place the new files into the same location.
The automatic update procedure is as follows:
- The TeamCity server is stopped.
- The update script is run to do the following:
- Next, the updated server starts.
How do I change my TeamCity port?
To change the server port, in the <TeamCity Home>/conf/server. xml file, change the port number in the not commented <Connector> XML node (here the port number is 8111): <Connector port=”8111″ To apply the changes, restart the server.