deploy(M00-E): 补充备份恢复检查模板

This commit is contained in:
Codex
2026-06-15 16:55:52 +08:00
parent c3be30d4c7
commit 292ab7f062
20 changed files with 151 additions and 21 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"version": "0.1.4-m00-backup-check",
"retention": {
"daily": 7,
"weekly": 4,
"monthly": 3
},
"targets": {
"mysql": {
"enabled": false,
"database": "qipai",
"output": "/opt/apps/backups/mysql",
"command": "mysqldump --single-transaction --routines --triggers --events qipai"
},
"emqx": {
"enabled": false,
"output": "/opt/apps/backups/emqx",
"command": "emqx ctl data export"
},
"uploads": {
"enabled": false,
"source": "/opt/apps/uploads",
"output": "/opt/apps/backups/files"
}
},
"notes": [
"This template contains no real passwords or production paths outside /opt/apps.",
"Enable targets only on production Ubuntu after credentials and retention policy are confirmed."
]
}