v2

latestOpenAPI 3.0.1Apache 2.02026-07-2698173135.4 KB
Postgres Clusters

Restore Backup to New Cluster

Restore a backup into a new Managed Postgres cluster. The source cluster is left unchanged, and a new cluster is provisioned from the specified backup.

post/postgres/{postgres_cluster_id}/restore

Path parameters

postgres_cluster_idstring required

Managed Postgres Cluster ID

Request body

backup_idstring required

Backup label to restore from, as returned by the backups list.

Response

New cluster provisioned from the backup

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"
  }
}