v2.0.0
This commit is contained in:
@@ -1,11 +1,26 @@
|
||||
# pgBackRest Configuration
|
||||
# Backup storage on replica (pg2)
|
||||
# Archive destination: /pgbackrest
|
||||
|
||||
[main]
|
||||
pg1-path=/var/lib/postgresql/16/main
|
||||
pg1-path={{ pg_data }}
|
||||
|
||||
[global]
|
||||
{% if inventory_hostname in groups['primary'] %}
|
||||
repo1-host=pg2
|
||||
{% endif %}
|
||||
repo1-path=/pgbackrest
|
||||
repo1-retention-full=2
|
||||
repo1-retention-diff=7
|
||||
repo1-retention-incr=7
|
||||
repo1-bundle=y
|
||||
start-fast=y
|
||||
log-level-console=info
|
||||
log-level-file=debug
|
||||
archive-async=y
|
||||
archive-timeout=60
|
||||
check-strict=y
|
||||
delta=y
|
||||
recovery-option=recovery_target_timeline=latest
|
||||
|
||||
{% if inventory_hostname in groups['primary'] %}
|
||||
repo1-host=pg2
|
||||
repo1-host-user=postgres
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user