Backups
Create a database backup and upload to S3
Uses `pg_dump` against the provided `client_name`, uploads the archive to the configured S3 bucket, and stores an optional `label` in the object metadata. Requires the static admin key (`ATHENA_KEY_12`) and S3 configuration (`ATHENA_BACKUP_S3_BUCKET`, `ATHENA_BACKUP_S3_PREFIX`, and credentials).
Header Parameters
apikey*string
The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.
Request Body
application/json
client_name*string
Logical client whose Postgres URI will be dumped.
label?|
Optional human-readable label stored in S3 object metadata.
Response Body
application/json
curl -X POST "https://athena-cluster.com/admin/backups" \ -H "apikey: string" \ -H "Content-Type: application/json" \ -d '{ "client_name": "string" }'{
"key": "string",
"client_name": "string",
"label": "string"
}Empty
Empty
Empty