---
title: "Create Backup"
method: POST
path: "/postgres/{postgres_cluster_id}/backups"
tags: ["Postgres Clusters"]
---

# Create Backup

`POST /postgres/{postgres_cluster_id}/backups`

Create a backup for a specific cluster. The backup runs asynchronously and is rejected if one is already in progress.

## Path parameters

- `postgres_cluster_id` string, required

## Request body

- CreatePostgresBackupRequest
  - `type` 'full' | 'incr' | 'diff', required — Backup type.

## Response `202`

Accepted

## Other responses

- `404` — Cluster not found
- `409` — A backup is currently running

---

[API](https://skmtc.net/machines/apis/machines-api.md) · [All operations](https://skmtc.net/machines/apis/machines-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/machines/machines-api/versions/633ddedda749/schema)
