- 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
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