Commit Graph
3 Commits
Author SHA1 Message Date
magnusandClaude Opus 4.6 a307141068 Fix WAL archive_command failing when segment already exists
pg_basebackup -Xs copies WAL segments to the backup dir, causing
the archive_command to fail on those pre-existing files and block
all subsequent archiving.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:54:15 +01:00
magnusandClaude Opus 4.6 82e430e645 Fix WAL archive permission denied by chowning backup dir to postgres UID
The backup container creates /backup/wal as root, but the postgres
archive_command runs as UID 999 and can't write to it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:21:44 +01:00
magnusandClaude Opus 4.6 448e31c01b Add PostgreSQL with automated hot backup setup
Weekly full backups via pg_basebackup and continuous WAL archiving
for point-in-time recovery, running as Docker Compose services.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 15:01:39 +01:00