Postgres Clusters
Restore Backup or Point in Time to New Cluster
Changed onRestore a backup, or a point in time within the cluster's PITR recovery window, into a new Managed Postgres cluster. The source cluster is left unchanged, and a new cluster is provisioned asynchronously.
post/v1/postgres/{postgres_cluster_id}/restore
Request
- Base URLhttps://api.machines.dev
- URLhttps://api.machines.dev/v1/postgres/{postgres_cluster_id}/restore
- AuthHTTP bearer
Path parameters
postgres_cluster_idstring required
Managed Postgres Cluster ID
Request body
Response
New cluster provisioned from the backup or point in time
Example response
{
"data": {
"cpu_kind": "shared",
"cpus": 2,
"disk_size_gb": 10,
"memory_mb": 1024,
"pg_major_version": "17",
"plan": "basic",
"region": "iad",
"replicas": 1,
"status": "ready",
"storage_provisioned_bytes": 10737418240,
"storage_used_bytes": 5368709120
}
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
the endpoint scheme security
FlyBearerAuthwas removed from the API
- info