Portabase Logo
Portabase DashboardAPIDatabases

Get a specific backup with storage details

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

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

Response Body

Backup with associated storage records

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'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "status": "waiting",    "file": "string",    "fileSize": -9007199254740991,    "durationMs": -9007199254740991,    "databaseId": "d0f4f849-8ecf-4909-96bf-7953790e45f9",    "imported": true,    "migrated": true,    "parentBackupId": "451a8fda-535b-470a-9106-f802afab3c5b",    "fullRequested": true,    "updatedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "deletedAt": "2019-08-24T14:15:22Z",    "storages": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f",        "storageChannelId": "b1f34603-bc6d-47ef-9b4b-df6729e51ad4",        "status": "pending",        "path": "string",        "size": -9007199254740991,        "checksum": "string",        "engine": "archive",        "stats": {          "filesNew": 0,          "filesChanged": 0,          "filesUnmodified": 0,          "filesRemoved": 0        },        "presence": "present",        "lastCheckedAt": "2019-08-24T14:15:22Z",        "lastCheckError": "string",        "updatedAt": "2019-08-24T14:15:22Z",        "createdAt": "2019-08-24T14:15:22Z",        "deletedAt": "2019-08-24T14:15:22Z"      }    ]  }}