Teamcity restores deleted build configuration

Is there a way in teamcity to restore the remote build configuration. I found Restore only a deleted project , which consists in restoring a deleted project, but cannot find any information about restoring the configuration of a remote assembly. I am using Teamcity 8.0.6

+5
source share
3 answers

Previous versions of build configuration settings are stored in the / config / projects / buildTypes folder in different * .xml.N files. To restore the installation, replace the * .xml file * .xml.N. In addition, TeamCity 9 can save all project settings in VCS .

+2
source

TeamCity 9, find the data directory and you will find the trash folder, for example:

D:\TeamCity\Data\config\_trash

Take a copy of all this in some other folder, just in case.

Move the project's managed folders from config\_trash to config\projects .

Remove the suffix .projectNN from each project folder.

You can see critical errors on the main web portal while this is happening.

Reboot TeamCity just for good measure.

Suffixes

+2
source

Another option available since 9.0 is to set the project settings to version control (Git, Mercurial or Subversion and Perforce since 9.1), and then recover deleted files using VCS commands.

0
source

Source: https://habr.com/ru/post/1208223/


All Articles