HA stage 0: health reads workers registry, daily pg_dump timer, backup freshness in monitor (#48)
Co-authored-by: host <host@test.local>
This commit is contained in:
1 parent
275de39148
commit
455513dd33
6 files changed
+150
-10
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# 每日 Postgres 备份定时器(HA 阶段 0)。
|
||||
#
|
||||
# 注意:unit 文件不在 deploy tar 里,改动后须单独 scp 到
|
||||
# /etc/systemd/system/ 再 daemon-reload + enable,不要只重启服务。
|
||||
# 19:00 UTC = 次日 03:00 CST(主机时区为 UTC 时以 UTC 为准,见注释)。
|
||||
[Unit]
|
||||
Description=Daily Postgres backup timer for codex-app-server
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 19:00:00 UTC
|
||||
Persistent=true
|
||||
Unit=codex-pg-backup.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in new issue
Block a user