vps-health-api/agent/pg-backup-pull/maximus-pg-backup-pull.timer
le king fu 59b963220d
Some checks failed
CI / verification (pull_request) Failing after 28s
feat(agent): daily pull of the encrypted PostgreSQL backups
POSIX sh agent run by a systemd user timer (Persistent=true, retries on
failure): rsync over the classic sshd on 100.86.30.21:2222 with a pinned
host key, .age files only, 30-day rotation that fails loudly, and a
report to POST /backups/pull when the ingest token is configured (sent
through a header file, never argv). Never decrypts.

Refs maximus/la-compagnie-maximus#220

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 16:18:17 -04:00

13 lines
390 B
SYSTEMD

# Daily, after the VPS run (03:00 UTC). Persistent=true catches up a run missed
# while the workstation was off, as soon as it is back (needs `loginctl
# enable-linger` for the user manager to run without an open session).
[Unit]
Description=Daily pull of the encrypted PostgreSQL backups
[Timer]
OnCalendar=daily
Persistent=true
RandomizedDelaySec=15min
[Install]
WantedBy=timers.target