2.1. Installing pg_probackup3 #

To install pg_probackup3, follow the steps below.

  1. Add the pg_probackup3 package repository to your operating system. You can get the exact repositories and commands for supported Linux distributions from the Postgres Pro support team.

  2. 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 yum instead of dnf on older systems.

  3. Print the pg_probackup3 version to verify the installation:

    /opt/pgpro/bin/pg_probackup3 --version
    
  4. Optionally, add /opt/pgpro/bin to PATH.

  5. To use pg_probackup3 in the PRO mode, configure Postgres Pro as follows:

    1. Install the pgpro_bindump module.

    2. Add the following parameters to postgresql.conf:

      shared_preload_libraries = 'pgpro_bindump'
      wal_level = 'replica'  # or 'logical'
      walsender_plugin_libraries = 'pgpro_bindump'
      
    3. Restart the Postgres Pro instance.