- Create and configure an external database to be used by TeamCity.
- Shut down the TeamCity server.
- Create a backup copy of the
<TeamCity Data Directory>used by the server.
- Clean up the
systemfolder: you must remove the
artifactsfolders from the
/systemfolder of your
<TeamCity data directory>; you may delete the old HSQLDB files:
buildserver.*to remove the no longer needed internal storage data.
Start the TeamCity server.
If you see the TeamCity Maintenance screen, click the "I’m a server administrator, show me the details" link and enter Maintenance Authentication Token. Follow the instructions to create a new TeamCity database.
maintainDB.[cmd|sh]shell/batch script is located in the
<TeamCity Home>/bindirectory and is used for migrating as well as for backing up and restoring TeamCity data.
The utility is only available in the TeamCity
exedistributions. If you installed TeamCity using the
.war distributionand need to perform data migration, use the tool from the