Portabase DashboardAPIDatabases
Get the job logs of a restoration, oldest first
GET
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
id*stringFormat
uuidrestorationId*stringFormat
uuidJob logs
application/json- response
data*array<>Example Request
curl -X GET 'https://portabase.example.com/api/v1/databases/123e4567-e89b-12d3-a456-426614174000/restore/123e4567-e89b-12d3-a456-426614174000/logs'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f", "restorationId": "ca5e5270-f561-4ad3-ae18-1c9b31182feb", "loggedAt": "2019-08-24T14:15:22Z", "entryType": "log", "level": "debug", "message": "string", "command": "string", "output": "string", "exitCode": -2147483648, "durationMs": -9007199254740991, "updatedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" } ]}