Last active
April 27, 2024 16:56
-
-
Save dincosman/df0a4fecd3d0e8a353ce6a641d889e03 to your computer and use it in GitHub Desktop.
Parameters should be set in the local configuration section of the Patroni configuration against RCE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[postgres@posvt01 ~]$ vi /etc/patroni.yml | |
... | |
postgresql | |
... | |
connect_address: posvt01.localdomain:3535 | |
... | |
parameters: | |
unix_socket_directories: '/var/run/postgresql' | |
archive_command: "pgbackrest --stanza=pg-cluster1 archive-push %p" | |
restore_command: "pgbackrest --stanza=pg-cluster1 archive-get %f %p" | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment