Skip to Content
ProductionPutting Production Back

Putting Production Back

A project Admin can put Production back from the Put Production back card on the Production page, below Workers. The card is folded: click Show options to see its actions. Each action says what it does, and is marked Keeps data or Loses recent data. An action you cannot take now keeps its row with a disabled button, a Not available badge and the reason. None needs a second person’s approval: each one puts back something that was already approved.

Go back to the earlier releaseRestore the backupRebuild Production
WhenA release broke your appsA release damaged your dataProduction is down
AppsBack to the earlier releaseBack to the earlier releaseAs they are
Data and structureNot changedBack to the backupBack to the newest disk snapshot
What is lostNothingEverything written since the backupEverything written since the newest snapshot
You type the project’s nameNoYesYes

Going back to the earlier release

Each app is rebuilt as it was in the release that was live before the current one. Production’s data and structure are not changed: a field the newer release added stays, and an app that does not know it ignores it.

This is offered only when the earlier release ran the same version of the Buildpad Engine as Production does now. Older app code cannot undo an Engine update.

Restoring the backup

Every Promotion backs Production up before it changes anything. Restoring that backup puts Production’s data and structure back to the moment before the last Promotion, and rebuilds the apps at the release before it.

Everything your users wrote, uploaded or changed since the backup is lost, and cannot be recovered. The card says how long ago the backup was taken.

A backup taken before an update of the Buildpad Engine cannot be restored on the newer version. When the last Promotion updated the Engine, the card says so: contact Buildpad support.

Rebuilding Production

If Production’s server or its AWS Availability Zone fails, rebuild it. The platform makes a new server in another zone from the newest snapshot of Production’s disk, and moves Production’s traffic to it once it is healthy. The card says when that snapshot was taken. The old server is then stopped and kept, not deleted.

Changes made after that snapshot are lost. If the new server does not become healthy, the old one is left as it was.

Production’s message broker comes back with the new server, and each worker is deployed again at the live release. If the worker server cannot be reached (it was in the failed zone) or was lost, the rebuild makes a new worker server beside the new server, writes each worker’s settings back to it, and deploys every worker again. An unreachable worker server is stopped and kept, not deleted. The message broker and its connection details do not change, so your workers need no new settings.

A Promotion, a roll back or a restore that finds the worker server lost makes a new one the same way. If making it fails, the step stops and says why; Retry tries again and reuses a worker server that was already started.

Production’s disk is first snapshotted within about an hour of setting Production up. Until then, the card says that Production’s disk has no snapshot yet, and Production cannot be rebuilt.

If the card says that rebuilding is not available yet, contact Buildpad support when Production is down.

Last updated on