The following instructions describe how to install PostgresSQL.
You will need to complete the following two tasks
In order to backup and restore databases using PgAdmin 4 you must ensure the Binary Path setting points to where several critical DLLs are saved on your hard drive.
Below is the path that is typically correct, but it may vary for your system.
- C:\Program Files\PostgreSQL\16\bin
The screenshot below shows one of the files. Find the directory that contains the libz4.dll file. Copy this path.
Launch PgAdmin 4 from your Windows start menu.
Click File>Preferences
On the left-hand navigation tree go to Paths>Binary paths
In the list near the bottom, set the default to the version of PostgreSQL you're running and paste the path in the Binary Path field.
Click Save