---
title: "Replace the automated backup schedule"
method: PUT
path: "/projects/{id}/databases/{databaseName}/backup-schedule"
tags: ["Database Backups"]
---

# Replace the automated backup schedule

`PUT /projects/{id}/databases/{databaseName}/backup-schedule`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/databases/{databaseName}/backup-schedule`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Replaces the schedule wholesale. Send an empty `entries` list to stop
scheduled backups.

Scheduled backups do not count against the plan's backup allowance, but
their retention is clamped to the plan's.

## Path parameters

- `id` string, uuid, required
- `databaseName` string, required

## Request body

- DatabaseBackupSchedule: The database's automated backup schedule. An empty list means no scheduled backups; sending one clears the schedule.
  - `entries` DatabaseBackupScheduleEntry[], required
    - `frequency` 'daily' | 'weekly' | 'monthly', required
    - `hour` integer, required: Hour of the day in UTC.
    - `day` integer: Day of the week (1-7, Monday to Sunday) for a weekly schedule, or day of the month (1-28) for a monthly one. Required for both, ignored for a daily schedule. Monthly stops at 28 so the schedule fires in every month.
    - `retention_seconds` integer: How long each backup from this recurrence is kept. Clamped to the plan's retention, and defaulted to it when omitted.

## Response `200`

Schedule replaced

- DatabaseBackupSchedule: The database's automated backup schedule. An empty list means no scheduled backups; sending one clears the schedule.
  - `entries` DatabaseBackupScheduleEntry[], required
    - `frequency` 'daily' | 'weekly' | 'monthly', required
    - `hour` integer, required: Hour of the day in UTC.
    - `day` integer: Day of the week (1-7, Monday to Sunday) for a weekly schedule, or day of the month (1-28) for a monthly one. Required for both, ignored for a daily schedule. Monthly stops at 28 so the schedule fires in every month.
    - `retention_seconds` integer: How long each backup from this recurrence is kept. Clamped to the plan's retention, and defaulted to it when omitted.

## Other responses

- `400`: The schedule names a recurrence that cannot fire: a weekly or monthly one with no `day`, or a `day` outside its frequency's range (1-7 for weekly, 1-28 for monthly). The response says which.
- `403`: Backups require SUPERAGENT
- `404`: Project or database not found
- `409`: The database is not active, or a restore is running on it — a restore moves the data to a new branch, and the provider keeps the schedule per branch.
- `503`: Backups are temporarily unavailable

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 10 breaking, 11 info
  - added the new path request parameter `databaseName`
  - added the new path request parameter `id`
  - added the new required request property `entries`
  - the request's body type changed from no type to `object`
  - …17 more
- **2026-09-04** `c2ec82fb8ce8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/databases/:databaseName/backup-schedule/put.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
