新增后台数据库备份与回滚

This commit is contained in:
2026-06-23 12:27:16 +08:00
parent 668e0403af
commit 529e175d2c
17 changed files with 754 additions and 26 deletions

View File

@@ -56,6 +56,8 @@ docker compose exec backend python -m app.cli init-db --admin-username admin --a
## 备份
- MySQL 每日备份已配置
- 后台「备份管理」可以查看本地备份并手动创建备份
- 已完成一次手动备份和一次只读检查,确认 `/data/certificate-system/db-backups` 有备份文件。
- 如果需要每日自动备份,服务器定时策略已配置。
- `uploads``error-reports``exports` 已纳入备份策略。
- `pdf-cache` 不纳入长期备份。