732 B
732 B
Upgrade and rollback runbook
- Record the running image digest and take a tested metadata backup plus repository recovery evidence before changing the image.
- Pull/build the pinned image, then run
docker compose run --rm migrate upgrade. Do not start web, scheduler, or worker against an unverified schema. - Start the stack, wait for
/readyz, and inspect/metricsfor stale leases, schedule lag, unavailable repositories, and corrupt backups. - If migration fails, stop and restore the prior metadata backup and matching image; do not attempt to downgrade an unknown partially migrated database in place.
- Preserve migration logs and verify a representative backup restore before closing the change.