Skip to main content
Server Actions

Update DB backup on disk settings for a server

Asynchronous Request

Updates backup directory, retention, and/or schedule for a server that already has backup on disk enabled, then re-runs the install script to apply changes on the VPS. Omitted fields keep their current values.

PATCH
/servers/{serverSlug}/actions/db-backup-on-disk
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

Body

application/json

At least one setting to update.

backupDirstring

Absolute path where backups are stored.

Example: /root/db-backups
keepinteger

Number of backup archives to retain (1-365).

Example: 14
scheduleenum<string>
Available options: hourly, daily, weekly, manual
Example: weekly

DB backup on disk settings update initiated.

X-Callback-IDstringheader

CallbackID