Files
qipai/deploy/backup/backup-policy.template.json
T

31 lines
796 B
JSON

{
"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."
]
}