Team City Backup from Rest API doesn't backup
Posted
by
ChrisFletcher
on Super User
See other posts from Super User
or by ChrisFletcher
Published on 2012-06-12T09:58:38Z
Indexed on
2012/06/12
10:42 UTC
Read the original article
Hit count: 253
I'm using the REST API in Team City 6.5 to request a backup is created as follows:
http://teamcity:8111/httpAuth/app/rest/server/backup?includeConfigs=true&includeDatabase=true&includeBuildLogs=true&fileName=filename
as specified in the documentation here: http://confluence.jetbrains.net/display/TW/REST+API+Plugin#RESTAPIPlugin-DataBackup
The problem is that it simply returns "idle", as does the backup status call and no backup appears. I can backup fine from the web interface and I can return a list of users from the REST API without issue also. I'm starting to suspect there is some sort of permission or config option but I can't find one.
© Super User or respective owner