fix(deploy): run the base-backup timer's pgBackRest as the postgres role #221
Reference in New Issue
Block a user
Delete Branch "feature/pitr-timer-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to the PITR feature. The systemd base-backup timer ran
docker exec … pgbackrest backupwithout-u postgres --pg1-user=scrabble, so it connected to the DB as a non-existent role (docker exec is root; the superuser role isscrabble). Surfaced while arming PITR on prod;archive_command(run by the postgres server itself) was unaffected and archiving works. Fixes the timer template, corrects the runbook commands, records the arming + restore drill (v1.13.0, 2026-07-09), and marks the durability work done in PLAN.md. Prod already runs the corrected timer (ansible was applied from this fix).