Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions docs/solutions/pgbackrest.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ Do the following steps on the `backup` node.
repo1-retention-full=4

# Server general options
process-max=4 # This depends on the number of CPU resources your server has. The recommended value should equal or be less than the number of CPUs. While more processes can speed up backups, they will also consume additional system resources.
# process-max depends on the number of CPU resources your server has.
# The recommended value should equal or be less than the number of CPUs.
# While more processes can speed up backups, they will also consume additional system resources.
process-max=4
log-level-console=info
#log-level-file=debug
log-level-file=info
Expand All @@ -116,8 +119,8 @@ Do the following steps on the `backup` node.
pg1-port=5432
pg1-path=/var/lib/postgresql/{{pgversion}}/main
pg1-host-type=tls
pg1-host-cert-file=${CA_PATH}/${NODE1_NAME}.crt
pg1-host-key-file=${CA_PATH}/${NODE1_NAME}.key
pg1-host-cert-file=${CA_PATH}/${SRV_NAME}.crt
pg1-host-key-file=${CA_PATH}/${SRV_NAME}.key
pg1-host-ca-file=${CA_PATH}/ca.crt
pg1-socket-path=/var/run/postgresql

Expand All @@ -126,8 +129,8 @@ Do the following steps on the `backup` node.
pg2-port=5432
pg2-path=/var/lib/postgresql/{{pgversion}}/main
pg2-host-type=tls
pg2-host-cert-file=${CA_PATH}/${NODE2_NAME}.crt
pg2-host-key-file=${CA_PATH}/${NODE2_NAME}.key
pg2-host-cert-file=${CA_PATH}/${SRV_NAME}.crt
pg2-host-key-file=${CA_PATH}/${SRV_NAME}.key
pg2-host-ca-file=${CA_PATH}/ca.crt
pg2-socket-path=/var/run/postgresql

Expand All @@ -136,8 +139,8 @@ Do the following steps on the `backup` node.
pg3-port=5432
pg3-path=/var/lib/postgresql/{{pgversion}}/main
pg3-host-type=tls
pg3-host-cert-file=${CA_PATH}/${NODE3_NAME}.crt
pg3-host-key-file=${CA_PATH}/${NODE3_NAME}.key
pg3-host-cert-file=${CA_PATH}/${SRV_NAME}.crt
pg3-host-key-file=${CA_PATH}/${SRV_NAME}.key
pg3-host-ca-file=${CA_PATH}/ca.crt
pg3-socket-path=/var/run/postgresql

Expand Down Expand Up @@ -172,7 +175,10 @@ Do the following steps on the `backup` node.
repo1-retention-full=4

# Server general options
process-max=4 # This depends on the number of CPU resources your server has. The recommended value should equal or be less than the number of CPUs. While more processes can speed up backups, they will also consume additional system resources.
# process-max depends on the number of CPU resources your server has.
# The recommended value should equal or be less than the number of CPUs.
# While more processes can speed up backups, they will also consume additional system resources.
process-max=4
log-level-console=info
#log-level-file=debug
log-level-file=info
Expand All @@ -198,8 +204,8 @@ Do the following steps on the `backup` node.
pg1-port=5432
pg1-path=/var/lib/postgresql/{{pgversion}}/main
pg1-host-type=tls
pg1-host-cert-file=${CA_PATH}/${NODE1_NAME}.crt
pg1-host-key-file=${CA_PATH}/${NODE1_NAME}.key
pg1-host-cert-file=${CA_PATH}/${SRV_NAME}.crt
pg1-host-key-file=${CA_PATH}/${SRV_NAME}.key
pg1-host-ca-file=${CA_PATH}/ca.crt
pg1-socket-path=/var/run/postgresql

Expand All @@ -208,8 +214,8 @@ Do the following steps on the `backup` node.
pg2-port=5432
pg2-path=/var/lib/postgresql/{{pgversion}}/main
pg2-host-type=tls
pg2-host-cert-file=${CA_PATH}/${NODE2_NAME}.crt
pg2-host-key-file=${CA_PATH}/${NODE2_NAME}.key
pg2-host-cert-file=${CA_PATH}/${SRV_NAME}.crt
pg2-host-key-file=${CA_PATH}/${SRV_NAME}.key
pg2-host-ca-file=${CA_PATH}/ca.crt
pg2-socket-path=/var/run/postgresql

Expand All @@ -218,8 +224,8 @@ Do the following steps on the `backup` node.
pg3-port=5432
pg3-path=/var/lib/postgresql/{{pgversion}}/main
pg3-host-type=tls
pg3-host-cert-file=${CA_PATH}/${NODE3_NAME}.crt
pg3-host-key-file=${CA_PATH}/${NODE3_NAME}.key
pg3-host-cert-file=${CA_PATH}/${SRV_NAME}.crt
pg3-host-key-file=${CA_PATH}/${SRV_NAME}.key
pg3-host-ca-file=${CA_PATH}/ca.crt
pg3-socket-path=/var/run/postgresql

Expand Down