pgbackrest.conf23 lines · main
1# briven pgBackRest config — Phase 9 of BACKEND_FORK_BRIEF.md.
2# Stanza name "briven" must match Postgres archive_command setup in
3# the db service (init script: ALTER SYSTEM SET archive_command).
4
5[global]
6log-path=/var/log/pgbackrest
7spool-path=/var/lib/pgbackrest/spool
8lock-path=/var/lib/pgbackrest/lock
9buffer-size=16MB
10process-max=2
11compress-type=zst
12compress-level=3
13start-fast=y
14
15[global:archive-push]
16process-max=4
17
18[briven]
19pg1-host=db
20pg1-port=5432
21pg1-database=postgres
22pg1-user=postgres
23pg1-path=/var/lib/postgresql/data