Portabase Logo
Portabase DashboardAPIDatabases

Get a short-lived signed URL to download one stored copy of a backup

The URL expires after about one minute. Snapshots and replicas cannot be downloaded.

GET
/databases/{id}/backup/{backupId}/download

The URL expires after about one minute. Snapshots and replicas cannot be downloaded.

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
backupId*string
Formatuuid

Query Parameters

backupStorageId*string
Formatuuid

Response Body

Signed download URL

application/json
  1. response
data*
Example Request
curl -X GET 'https://portabase.example.com/api/v1/databases/123e4567-e89b-12d3-a456-426614174000/backup/123e4567-e89b-12d3-a456-426614174000/download?backupStorageId=123e4567-e89b-12d3-a456-426614174000'
Example Response
{  "data": {    "url": "string"  }}