Restore

What the latest restore of a PostgreSQL service brought back

Changed on

The databases and login roles the restore recorded, each restored database with the linked projects that read it, and each linked database the backup does not have while restored data sits unused, with a restored database the link could read instead.

get/external-services/{id}/restored-databases

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

External service id

Response

What the latest restore brought back; report is null when it recorded nothing

Example response

{
  "report": {
    "databases": [
      {
        "name": "shop_prod"
      }
    ],
    "missing": [
      {
        "expected_database": "shop_production"
      }
    ]
  }
}

Changes