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] |
| 6 | log-path=/var/log/pgbackrest |
| 7 | spool-path=/var/lib/pgbackrest/spool |
| 8 | lock-path=/var/lib/pgbackrest/lock |
| 9 | buffer-size=16MB |
| 10 | process-max=2 |
| 11 | compress-type=zst |
| 12 | compress-level=3 |
| 13 | start-fast=y |
| 14 | |
| 15 | [global:archive-push] |
| 16 | process-max=4 |
| 17 | |
| 18 | [briven] |
| 19 | pg1-host=db |
| 20 | pg1-port=5432 |
| 21 | pg1-database=postgres |
| 22 | pg1-user=postgres |
| 23 | pg1-path=/var/lib/postgresql/data |