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>
This commit is contained in:
2026-03-06 15:01:39 +01:00
co-authored by Claude Opus 4.6
commit 448e31c01b
4 changed files with 149 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
# Allow replication connections from the Docker network
echo "host replication all all scram-sha-256" >> "$PGDATA/pg_hba.conf"