# PostgreSQL Configuration for WAL Archiving + pgBackRest # Append to default postgresql.conf # WAL Archiving (required for Point-in-Time Recovery) wal_level = replica archive_mode = on archive_command = 'pgbackrest --stanza=mana archive-push %p' archive_timeout = 60 # WAL Settings (tuned for 16GB Mac Mini) max_wal_senders = 3 max_wal_size = 1GB min_wal_size = 80MB # Performance (tuned for 16GB RAM, shared with other services) shared_buffers = 512MB effective_cache_size = 2GB work_mem = 16MB maintenance_work_mem = 128MB # Logging log_min_duration_statement = 1000 log_checkpoints = on