TeamCity 2021.1 Help

Manage Data Backup

This article lists REST API requests concerning data backup.

Start backup

POST http://<TeamCity Server host>:<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 Server host>:<port>/app/rest/server/backup
Last modified: 25 January 2021