ops: add production observability and recovery
This commit is contained in:
3
infra/backup-cron.example
Normal file
3
infra/backup-cron.example
Normal file
@@ -0,0 +1,3 @@
|
||||
# 每日 02:17 创建备份、校验并清理超过 30 天的标准备份目录。
|
||||
# 请把 /opt/ai-ticket-platform 替换为实际绝对路径,并由专用系统账号安装。
|
||||
17 2 * * * cd /opt/ai-ticket-platform && BACKUP_RETENTION_DAYS=30 sh infra/scripts/backup.sh && BACKUP_RETENTION_DAYS=30 sh infra/scripts/prune-backups.sh >> /var/log/ai-ticket-backup.log 2>&1
|
||||
Reference in New Issue
Block a user