---
search:
  tags:
    - database-services
    - POST
seo:
  description: >-
    Trigger a pgbackrest backup. Reference for the POST
    /api/v1/database-services/{id}/backup endpoint in the TimescaleDB Enterprise
    API.
sidebar:
  label: Trigger a pgbackrest backup
  badge: POST
title: Trigger a pgbackrest backup
type: openapi-operation
---
`POST /api/v1/database-services/{id}/backup`

**Request body** (`application/json`, required)

- `type` (string)

Request body example:

```json
{
  "type": "string"
}
```

**Responses**

- `202` — Accepted
- `default` — Error

Response example, 202:

```json
{
  "status": "string",
  "type": "string",
  "workflow_id": "string"
}
```
