# briven pgBackRest config — Phase 9 of BACKEND_FORK_BRIEF.md.
# Stanza name "briven" must match Postgres archive_command setup in
# the db service (init script: ALTER SYSTEM SET archive_command).

[global]
log-path=/var/log/pgbackrest
spool-path=/var/lib/pgbackrest/spool
lock-path=/var/lib/pgbackrest/lock
buffer-size=16MB
process-max=2
compress-type=zst
compress-level=3
start-fast=y

[global:archive-push]
process-max=4

[briven]
pg1-host=db
pg1-port=5432
pg1-database=postgres
pg1-user=postgres
pg1-path=/var/lib/postgresql/data
