The Compose documentation describes how a backup can be initiated:
export APIKEY=your_apikey_here
export DEPLOYMENT=your_deployment_id
curl -X POST -H "Authorization: Bearer $APIKEY" -H "Content-Type: application/json" "https://api.compose.io/2016-07/deployments/${DEPLOYMENT}/backups"
I would like to execute this API call against a 'Standard' Compose database running on Bluemix (not Compose Enterprise).
The DEPLOYMENT_ID
is available in the VCAP_SERVICES json, but I can't find the APIKEY
- where can I find this?