A Step by Step Guide to Migrating a TeamCity Instance from One Server to Another
  1. Step 1: Backup TeamCity Database Data.
  2. Step 2: Stop TeamCity Services.
  3. Step 3: Backup TeamCity Data Directory.
  4. Step 4: Install a matching version of TeamCity onto the new server.
  5. Step 5: Configure Environment Variables for Java.

Keeping this in consideration, how do I restore a backup on TeamCity?

Performing restore

  1. On the TeamCity First Start step of the browser dialog, enter the path to the Data Directory and click Restore from backup.
  2. Enter an absolute path to the backup directory on the TeamCity server or upload a ZIP archive with the backed up data.
  3. Choose the target database.
  4. 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:

  1. The TeamCity server is stopped.
  2. The update script is run to do the following:
  3. 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.

Related Question Answers

What is TeamCity used for?

Teamcity is Continuous Integration tool written in Java language which supports building and deploying different types of projects, established by Jet brains. It is a commercial tool and licensed under a proprietary license, Freemium software license up to 100 build configurations and 3 free build agents are available.

How do I start my own TeamCity agent?

Navigate to the Agents tab in the TeamCity web UI. Click the “Install Build Agents” link and then click “Via Java Web Start“. Follow the instructions. You can install the build agent Windows service during the installation process or manually.

How do I reset my build agent?

msc, and look for “VSTS Agent (name of your agent)”. Right-click the entry and then choose restart. If you're running the agent interactively, then go to the PowerShell console in which it's running and press Ctrl+C to stop it and then run run.