deploy(M00-E): 补充备份恢复检查模板
This commit is contained in:
@@ -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."
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user