Skip to main content
Server Actions

Get DB backup on disk status for a server

Returns the current backup-on-disk configuration and last-run status for the server.

GET
/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

Response

application/json

DB backup on disk status

backupDirstring
Example: /root/db-backups
enabledboolean
Example: true
keepinteger
Example: 7
lastRunstring
Example: 2026-07-03T07:50:00.000Z
lastStatusstring
Example: Backup completed successfully
scheduleenum<string>
Available options: hourly, daily, weekly, manual
Example: daily
scriptPathstring
Example: /root/webdock/db-backup-on-disk.sh