Skip to main content
POST
/
api
/
v1
/
databases
/
{id}
/
backups
Trigger backup
curl --request POST \
  --url https://api.example.com/api/v1/databases/{id}/backups
Triggers an asynchronous pg_dump backup. The request returns immediately while the backup runs in the background.

Path parameters

ParameterTypeDescription
iduuidDatabase ID

Response

202 Accepted
{
  "message": "Backup started"
}

Errors

StatusCodeDescription
404NOT_FOUNDDatabase doesn’t exist or isn’t owned by this user