Plesk

Cannot create/restore a backup of PostgreSQL database: Cannot run PostgreSQL client tools; make sure that they are installed

Symptoms

Cause

PostgreSQL client tools are not installed or have not been added to the system PATH variable.

Resolution

For Debian-based distributions (Ubuntu, Debian)

  1. Connect to the server via SSH.

  2. Install the corresponding package:

    # apt install postgresql-client

For RHEL-based distributions (CentOS, AlmaLinux, Rocky Linux, CloudLinux, RHEL)

  1. Connect to the server via SSH.

  2. Install the corresponding package:

    # yum install postgresql

For Windows

  1. Connect to the server via RDP.
  2. Download the PostgreSQL distribution from the official website.
  3. Run the MSI installer downloaded to install the PostgreSQL Client Tools component on the server.
  4. Go to Control Panel > System and Security > System > Advanced system settings > Environment Variables > System variables > and append the PATH environmental variable to the directory path where client tools were installed.
  5. Restart Plesk services
Exit mobile version