Postgres Upgrades

Roll a completed upgrade back to its pre-upgrade PGDATA volume and old image. Only valid while the rollback retention window is still open (see `ROLLBACK_RETENTION_DAYS`) and the rollback volume has not been swept.

Changed on
post/external-services/{service_id}/upgrades/{id}/rollback

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/external-services/{service_id}/upgrades/{id}/rollback
  • Auth: HTTP bearer

Path parameters

service_idinteger required

External service id

idinteger required

Upgrade id

Response

Rollback complete

attemptinteger required
created_atstring required
error_messagestring nullable
finished_atstring nullable
from_imagestring required
from_versionstring required
idinteger required
log_idstring required
phasestring required
pre_upgrade_backup_idinteger nullable
rollback_volume_namestring nullable
service_idinteger required
started_atstring nullable
statusstring required
to_imagestring required
to_versionstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status