mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 13:15:17 +09:00
Add a real Protection layer for WordPress sites and applications: one BackupPolicy per target (cron mirrored into a ScheduledJob on the unified job bus), BackupRun history, cost estimation, and full/incremental smart backups with chain-aware retention and remote verify. - models BackupPolicy + BackupRun (migration 028) - backup_policy_service: CRUD, schedule wiring, backup.policy.run/restore.run handlers (distinct from legacy backup.run), chain-aware retention, restore chain - backup_cost_service: storage-cost rates ($/GB/mo); local free by default - backup_service: tar --listed-incremental + zstd/gzip compression tiers - API: policy/runs/restore/verify/delete on /wordpress/sites and /apps; cost-rates + cost-summary on /backups - restore.completed/failed notification events - tests: cost, schedule sync, kind decision, chain-aware retention, restore wiring Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>