2 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 ba14cdf3b6 ops: production config/cert backup, restore drill and capacity note (BUG-2425, BUG-2426)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m28s
Independent Staging Quality Gate / validate-python (push) Successful in 8m41s
Independent Staging Quality Gate / publish (push) Canceled after 1m32s
- deploy/backup-production-config.sh: env files, .monitor.env, state records,
  compose/Caddyfile, Caddy data+config volumes and host units bundled, encrypted
  to the owner's OpenPGP public key only, kept locally (14) and uploaded to OSS
  production/config/ with the existing write-only key; --dry-run lists only.
- systemd unit + timer (05:05 Asia/Shanghai) and a root installer.
- sync-production-tree.sh no longer deletes /.monitor.env on every deploy.
- Restore drill on 83.229.126.99 (isolated temp Postgres, ~12 s, counts match),
  config restore doc, capacity note (#355).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 23:07:07 +08:00
ClaudeandClaude Opus 5.5 10639255c1 ops: daily off-site copy of the production database to Alibaba Cloud OSS (BUG-2131)
Independent Staging Quality Gate / validate-python (push) Successful in 10m46s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m44s
Independent Staging Quality Gate / publish (push) Successful in 3m55s
A host-side systemd timer (04:45 Asia/Shanghai) makes sure a restore-verified
daily backup exists (running the existing recovery script in daily mode when the
Gitea workflow did not), then uploads it with an OSS V1 signature computed in
the script, Content-MD5 and an ETag check. Secrets never reach argv or output.
Failures write a marker and alert through the existing Feishu monitor.
Not installed on the production host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-21 19:20:27 +08:00