Files
memoryweave/deploy/zhiyi-backup.service
T
xiaowei 58ed82c427 G8: 基础设施加固 — 备份 + Prometheus + Nginx
- 创建 zhiyi-backup.service + .timer (每天 3:00,保留7天+周末)
- 备份脚本: LanceDB checkpoint + SQLite .backup + Redis BGSAVE
- 首次备份: 23MB
- Prometheus 修复: 权限 -> 正常运行 (port 9090)
- Nginx 配置: 移除 Nginx Plus 专属 health_check 指令,部署就位
- /metrics 无 auth 可访问,Prometheus 可抓取
2026-05-30 02:15:02 +08:00

14 lines
274 B
Desktop File

[Unit]
Description=ZhiYi MemoryWeave Backup — LanceDB + SQLite + Redis
After=zhiyid.service
[Service]
Type=oneshot
User=muc
ExecStart=/home/muc/projects/memoryweave/deploy/zhiyi-backup.sh
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target