---
title: "Create ARK backup"
method: POST
path: "/api/v1/orgs/{orgId}/clusters/{id}/backups"
tags: ["ark-backups"]
---

# Create ARK backup

`POST /api/v1/orgs/{orgId}/clusters/{id}/backups`

Create ARK backup of a cluster

## Path parameters

- `orgId` integer, required
- `id` integer, required

## Request body

- CreateBackupRequest
  - `name` string, required
  - `ttl` string, required
  - `labels` Labels
    - `backup-type` string
  - `options` BackupOptions
    - `includedNamespaces` string[]
    - `includedResources` string[]
    - `excludedNamespaces` string[]
    - `excludedResources` string[]
    - `snapshotVolumes` boolean
    - `includeClusterResources` boolean

## Response `200`

Backup created successfully

- CreateBackupResponse
  - `id` integer
  - `status` integer

## Other responses

- `default` — Internal server error

---

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