Plesk

Unable to create a backup of PostgreSQL database: pg_dump: aborting because of server version mismatch

Symptoms

Cause

Plesk bug with the ID PPPM-5078, which will be fixed in future updates.

Resolution

Until the bug be fixed, as workaround:

  1. Log into the server via SSH.
  2. Create a backup for the /etc/psa/psa.conf file:

    # cp -a /etc/psa/psa.conf{,.back}

  3. Edit the /etc/psa/psa.conf file to point Plesk to the new PostgreSQL database server by changing the lines below from: 

    PGSQL_DATA_D /var/lib/pgsql/data
    PGSQL_CONF_D /var/lib/pgsql/data
    PGSQL_BIN_D /usr/bin

    To

    PGSQL_DATA_D /var/lib/pgsql/9.5/data
    PGSQL_CONF_D /var/lib/pgsql/9.5/data
    PGSQL_BIN_D /usr/pgsql-9.5/bin

Exit mobile version