Some checks failed
CI / verification (pull_request) Failing after 28s
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>
15 lines
499 B
Desktop File
15 lines
499 B
Desktop File
# Daily pull of the encrypted PostgreSQL backups (la-compagnie-maximus#220).
|
|
# Installed as a systemd *user* unit, see agent/README.md.
|
|
[Unit]
|
|
Description=Pull the encrypted PostgreSQL backups from the VPS
|
|
# A run caught up at boot may start before Tailscale is up: retry a few times.
|
|
StartLimitIntervalSec=4h
|
|
StartLimitBurst=8
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=%h/.local/share/maximus-pg-backup-pull/run-pg-backup-pull.sh
|
|
SyslogIdentifier=pg-backup-pull
|
|
Nice=10
|
|
Restart=on-failure
|
|
RestartSec=15min
|