From 6e47d58f4dfa1725112b0e5c9c72848bea7fec49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=B0=E3=83=AA=E3=82=A2=E3=83=B3=E3=83=89=E3=83=AD?= Date: Fri, 29 Nov 2024 21:19:30 -0300 Subject: [PATCH] Update pgbackrest.md Changed configuration file used (postgresql.yml is wrong) and we also need at least cluster name in the reload command. Optionally we can also use a node name, this is why I added that too. --- docs/solutions/pgbackrest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/solutions/pgbackrest.md b/docs/solutions/pgbackrest.md index 5b147f3f0..08520ace6 100644 --- a/docs/solutions/pgbackrest.md +++ b/docs/solutions/pgbackrest.md @@ -479,7 +479,7 @@ Run the following commands on `node1`, `node2`, and `node3`. Reload the changed configurations: ```{.bash data-prompt="$"} - $ patronictl -c /etc/patroni/postgresql.yml reload + $ patronictl -c /etc/patroni/patroni.yml reload cluster_name node_name ``` :material-information: Note: When configuring a PostgreSQL server that is not managed by Patroni to archive/restore WALs from the `pgBackRest` server, edit the server's main configuration file directly and adjust the `archive_command` and `restore_command` variables as shown above.