---
title: "POST /backup.update"
method: POST
path: "/backup.update"
tags: ["backup"]
---

# POST /backup.update

`POST /backup.update`

## Request body

- object
  - `schedule` string, required
  - `enabled` boolean, nullable, required
  - `prefix` string, required
  - `backupId` string, required
  - `destinationId` string, required
  - `database` string, required
  - `keepLatestCount` number, nullable, required
  - `serviceName` string, nullable, required
  - `metadata` unknown, required
  - `databaseType` 'postgres' | 'mariadb' | 'mysql' | 'mongo' | 'web-server' | 'libsql', required
  - `includeEncryptionKey` boolean

## Response `200`

Successful response

- object

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

## Changes

- **2026-07-31** `ef58cac4be06` — 1 info
  - added the new optional request property `includeEncryptionKey`

[Change history](https://skmtc.dev/dokploy/apis/dokploy-api/changes/backup.update/post.md)

---

[API](https://skmtc.dev/dokploy/apis/dokploy-api.md) · [All operations](https://skmtc.dev/dokploy/apis/dokploy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dokploy/dokploy-api/revisions/8d66aacade7f/schema)
