Portabase DashboardAPIDatabases
Set or clear the backup schedule for a database
PUT
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
id*stringFormat
uuidapplication/json- body
backupPolicy*stringA valid cron expression, or "" to clear the schedule
Updated database record
application/json- response
data?unknownExample Request
curl -X PUT 'https://portabase.example.com/api/v1/databases/123e4567-e89b-12d3-a456-426614174000/backup-policy' \ -H 'Content-Type: application/json' \ -d '{ "backupPolicy": "string"}'Example Response
{ "data": null}Get a short-lived signed URL to download one stored copy of a backup GET
The URL expires after about one minute. Snapshots and replicas cannot be downloaded.
Set or clear the full backup schedule of a physical source PUT
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.