Configure PgAdmin 4
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\17\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 scroll down to Paths>Binary paths
In the list near the bottom, set the default to the version of PostgreSQL by pasting in the path you copied on step 1, from the libz4.dll file
Click Save
