Backups
List available backups in S3
Returns S3 backup objects filtered by optional `client_name` prefix, newest first.
Query Parameters
client_name?string
When set, only list backups for this client.
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.
Response Body
application/json
curl -X GET "https://athena-cluster.com/admin/backups" \ -H "apikey: string"{
"backups": [
{
"id": "string",
"key": "string",
"client_name": "string",
"label": "string",
"size_bytes": 0,
"created_at": "string"
}
]
}Empty
Empty
Reset virgin counters (optionally truncate seen IPs) POST
Previous Page
Create a database backup and upload to S3 POST
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).