February 2020
Intermediate to advanced
734 pages
38h 13m
English
For this procedure, we will need one server, our primary PostgreSQL server, which will be named pg-primary. As usual, our database is located at /db/pgdata.
Follow these steps to install and configure pgBackRest:
sudo yum install pgbackrest
sudo apt-get install pgbackrest
[main]pg1-path=/db/pgdata [global]repo1-path=/var/lib/pgbackrestrepo1-retention-full=1start-fast=y
archive_command = 'pgbackrest --stanza=main archive-push %p'
Read now
Unlock full access