Deleted build configuration - Restoration
Hello,
I deleted a build configuration by mistake and want to restore it. Is it possible?
Version TeamCity Enterprise 2020.2.1
Thanks
Please sign in to leave a comment.
Hello,
I deleted a build configuration by mistake and want to restore it. Is it possible?
Version TeamCity Enterprise 2020.2.1
Thanks
Please sign in to leave a comment.
Hi,
If you have a backup, the process of restoring it is straightforward.
If you've deleted a full project, the configuration files can be found in the "_trash" subfolder within the /config/projects. Restoring these files back to the projects folder will bring the project back online.
However, if you've only deleted a build configuration, the process is more complex. Currently, we don't back up configurations the same way as we do for removed projects. There's an open feature request for this, and you can vote and leave comments on TW-34774.
Alternatively, you can also follow the last comment here. This approach leverages internal artifacts left behind by the build configurations, as the build settings are stored there.