Postgres Clusters
Create Backup
Create a backup for a specific cluster. The backup runs asynchronously and is rejected if one is already in progress.
Create a backup for a specific cluster. The backup runs asynchronously and is rejected if one is already in progress.
Authorization
bearerAuth AuthorizationBearer <token>
A Fly.io access token. Create one with fly tokens create.
In: header
Path Parameters
postgres_cluster_id*string
Managed Postgres Cluster ID
Request Body
application/json
Backup details
type*string
Backup type.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/postgres/string/backups" \ -H "Content-Type: application/json" \ -d '{ "type": "full" }'Empty
{ "error": "string"}{ "error": "string"}