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