v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0618918374.7 KB
Databases

Set database storage backup schedule

Create or replace the backup schedule for a database persistent volume or directory storage.

put/databases/{uuid}/storages/{storage_uuid}/backups

Path parameters

uuidstring required

UUID of the database.

storage_uuidstring required

UUID of the persistent volume or directory storage.

Request body

frequencystring required
enabledboolean
save_s3boolean
disable_local_backupboolean
stop_during_backupboolean
s3_storage_uuidstring nullable
retention_amount_locallyinteger
retention_days_locallyinteger
retention_max_storage_locallynumber float
retention_amount_s3integer
retention_days_s3integer
retention_max_storage_s3number float
timeoutinteger

Example request

{
  "frequency": "0 2 * * *"
}

Response

Backup schedule replaced.

uuidstring required
messagestring required
storage_uuidstring required
storage_type'persistent' | 'directory' required
frequencystring required
enabledboolean required
save_s3boolean required
disable_local_backupboolean required
stop_during_backupboolean required
s3_storage_uuidstring nullable
retention_amount_locallyinteger required
retention_days_locallyinteger required
retention_max_storage_locallynumber float required
retention_amount_s3integer required
retention_days_s3integer required
retention_max_storage_s3number float required
timeoutinteger required