Portabase Logo
Portabase DashboardAPIDatabases

Set or clear the full backup schedule of a physical source

The first backup at or after each occurrence is a full one and starts a new chain; the schedule never starts a backup by itself. While it is set, the agent's full_every_days is not applied.

PUT
/databases/{id}/full-backup-policy

The first backup at or after each occurrence is a full one and starts a new chain; the schedule never starts a backup by itself. While it is set, the agent's full_every_days is not applied.

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
fullBackupPolicy*string

A 5-field cron expression (minute hour day-of-month month day-of-week), or "" to clear the schedule

Response Body

Updated database record

application/json
  1. response
data?unknown
Example Request
curl -X PUT 'https://portabase.example.com/api/v1/databases/123e4567-e89b-12d3-a456-426614174000/full-backup-policy' \  -H 'Content-Type: application/json' \  -d '{  "fullBackupPolicy": "string"}'
Example Response
{  "data": null}