TeamCity 2020.2 Help

Manage Data Backup

This article lists REST API requests concerning data backup.

Start backup

POST http://<TeamCity URL>:<port>/app/rest/server/backup?includeConfigs=true&includeDatabase=true&includeBuildLogs=true&fileName=

where <fileName> is the prefix of the file to save backup to. The file will be created in the default backup directory (read more).

Get current backup status (idle/running)

GET http://<TeamCity URL>:<port>/app/rest/server/backup
Last modified: 21 December 2020