2.2. Upgrading pg_probackup3 #

pg_probackup3 is upgraded using the OS package manager. In most cases, updating the pg-probackup3 package is sufficient to migrate to the new version. However, some versions may require additional actions. For more details, refer to the release notes of the required version.

For a standard upgrade, follow the steps below.

  1. Before the upgrade:

    • Ensure that there are no active backup operations.

    • Back up your configuration files.

  2. Update the pg-probackup3 package using the OS package manager:

    • On Debian family systems:

      sudo apt update
      sudo apt upgrade pg-probackup3
       
    • On Red Hat family systems:

      sudo dnf upgrade pg-probackup3
      

      You may need to use yum instead of dnf on older systems.

  3. Verify the installation:

    • Check the utility version:

      pg_probackup3 --version
      
    • Check the functionality:

      pg_probackup3 --help
      
    • Ensure that existing backups are still compatible with the new version. If the upgrade requires configuration changes, refer to the Release Notes section.