I am new to PostgreSQL. I installed the software. Almost everything works. Then I tried to follow a tutorial for dvdrental. All instructions for using from command line worked. Then there is instruction for creating a DB using pgAmdin 4, which also worked. The next instruction is to do a restore. This fails. The error message is 'C:\Program Files\PostgreSQL\13\pgAdmin 4\runtime\pg_restore.exe' file not found. Please correct the Binary Path in the Preferences dialog.
The message is correct. pg_restore.exe is not in the runtime folder, the runtime folder does not exist. There is a bin folder and pg_restore.exe is that direction.
I tried various things such as changing "EDB Advanced Server Binary Path", I also created folder runtime and copied everything that was in bin folder to runtime, but it still will not work. This looks like an installation problem. Same message seemed to have appeared for years, but none of those solutions have worked for me. I would appreciate any help.
Postgresql – Cannot do a restore using PgAdmin4 after a new install of PostgreSQL – pg_restore.exe file not found
pgadmin-4postgresql
Related Question
- Postgresql – “undefined function pg_pconnect()” when connecting to Postgres from CodeIgniter
- Postgresql – Restore database from a save
- Postgresql – pgAgent service for PostgreSQL does not run
- Postgresql – Unable to install pl/python for Postgresql12
- Postgresql – The pgAdmin 4 server could not be contacted
Best Answer
I was able to fix (or patch) the problem by coping files.