2.1. Installing pg_probackup3 #
To install pg_probackup3, follow the steps below.
Add the pg_probackup3 package repository by running the
pgpro-repo-add.shscript. Note that the script requires execute permissions and superuser privileges:wget https://repo.postgrespro.ru/pg_probackup3/pg_probackup3/keys/pgpro-repo-add.sh chmod +x pgpro-repo-add.sh sudo ./pgpro-repo-add.sh
Install the packages.
On Debian family systems:
sudo apt update sudo apt install pg-probackup3
On Red Hat family systems:
sudo dnf install pg-probackup3
You may need to use
yuminstead ofdnfon older systems.Print the pg_probackup3 version to verify the installation:
pg_probackup3 --version