Skip to content

Upgrades and backups

Upgrading the engine, what is backed up and how to restore.

Applies to Engine
View as Markdown
On this page
  1. Upgrades
  2. Backups

Upgrades

Terminal
npx @sypnia/run engine upgrade             # to the latest version
npx @sypnia/run engine upgrade --to 0.4.0

An upgrade updates the engine’s stack and runs the database migrations of the new version before switching the functions. Apps are not redeployed; their resources keep running. Each release note says whether an upgrade changes app stacks (then engine upgrade --apps updates them one by one).

Backups

WhatWhereBacked up by
The engine’s statePostgresRDS automated backups (7 days by default)
Artifacts of kept deploysS3versioning on the bucket
SecretsParameter Storeexport with run env pull --include-secrets to your vault
Your apps’ datanot in Runyour database and storage

To restore after losing the database, restore the RDS snapshot; the engine reconciles its records with the AWS resources it finds by tag.

  1. Upgrades
  2. Backups

    Search pages, sections and terms