• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question PostgreSQL 17 pg_dump Error on Windows Server 2022 with Plesk

shadowscript

New Pleskian
Server operating system version
Windows Server 2022
Plesk version and microupdate number
18.0.68
Hello,


I installed Plesk on Windows Server 2022 and separately installed PostgreSQL 17. I added PostgreSQL as a database server through Tools & Settings in Plesk and scheduled the backup system. However, I am encountering a pg_dump error during the backup process.


I have already added the PostgreSQL 17 bin directory to the Windows PATH variable, and I can access pg_dump and check its version via the command line without any issues.


Below is the log error generated after the Plesk backup attempt:

Warning: Database "admin_denemedb"
Unable to make database dump. Error: Cannot run PostgreSQL client tools; make sure that they are installed: https://support.plesk.com/hc/en-us/articles/18498840918039. Unable to exec pg_dump.exe: proc_open(): CreateProcess failed, error code: 2


I would appreciate any guidance on how to resolve this issue.


Thanks in advance!
 
you restarted the plesk services after adding the path in the PATH variable?
I restarted the entire Windows Server.

I added the following path to the PATH variable:

C:\Program Files\PostgreSQL\17\bin

When I run psql --version in CMD, it works.

When I run pg_dump, it also works.
 
Back
Top