Installation
Suggest editsAvailable platforms
pgBackRest packages are available on the following platforms.
Debian/Ubuntu
To install pgBackRest, configure the PostgreSQL apt repository and then run:
The following additional packages will be installed:
postgresql-client-common
postgresql-common
RHEL/CentOS
pgBackRest can be installed from the PostgreSQL yum repository, and requires Extra Packages for Enterprise Linux (EPEL).
Once you configured the repositories, run the following command to install pgBackRest:
The following additional packages may be installed to satisfy the dependencies:
libpq5
libzstd
EDB Postgres Advanced Server
The PGDG packages will fetch PostgreSQL libraries and create the postgres
system user.
If EDB Postgres Advanced Server is already installed on the system, the libraries installed at that time would be used.
By default, the packages create the following directories owned by postgres
:
/var/lib/pgbackrest
/var/log/pgbackrest
/var/spool/pgbackrest
The pg_hba.conf
settings should allow the postgres
user to execute the pgbackrest
command.
If you are using EDB Postgres Advanced Server, the enterprisedb
system user will execute the pgbackrest
command. The following commands will change the ownership of the pgBackRest directories:
- On this page
- Available platforms
- EDB Postgres Advanced Server
Could this page be better? Report a problem or suggest an addition!