fix(backup): proper backup/restore hooks + healthcheck start_period
Some checks failed
cc-ci/testme cc-ci: failure

- Add mysql_backup.sh: mysqldump to backup.sql.gz with proper restore hook
  (old --tab backup had no restore hook → restored backup silently lost DB data)
- Update db backupbot labels: pre-hook → /mysql_backup.sh backup,
  restore.post-hook → /mysql_backup.sh restore
- Fix app healthcheck start_period 1m → 15m (Ghost fresh-DB migration takes ~6-9min
  on slow hosts; old 1m caused migration lock deadlocks on deploy)
- Fix db healthcheck start_period 1m → 15m (InnoDB init on fresh data dir ~6-10min)
- Add MYSQL_BACKUP_VERSION=v1 to abra.sh
This commit is contained in:
autonomic-bot
2026-06-02 08:21:04 +00:00
parent 306f448adf
commit 720faa0beb
3 changed files with 43 additions and 7 deletions

View File

@ -1 +1,2 @@
export GHOST_ENTRYPOINT_VERSION=v1
export GHOST_ENTRYPOINT_VERSION=v1
export MYSQL_BACKUP_VERSION=v1