Team City Backup from Rest API doesn't backup
- by ChrisFletcher
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.