简体   繁体   中英

PGAdmin 4 fails to backup database with no errors

I try to backup my university project database. I followed the instruction, everything seems to be inputed:

1:

在此处输入图片说明

2:

在此处输入图片说明

3:

But the only pop-out I get is this one in right-bottom corner of PGAdmin 4: 在此处输入图片说明

From the Official site , there should be another pop-up message, similiard to this one:

在此处输入图片说明

But I don't get this one, nor I get the other one that is displayed where any error occurs.

I tried to directly use pg_dump.exe , but it prompts me for a password. I tried all my passwords - user password, server password which I use to connect to my database in PGAdmin 4, other passwords, but none of them seem to work.

在此处输入图片说明

I tried to find any information about this, but all articles about pg_dump.exe are about how to automatize password input. What is the cause of this backup silent failure, and which password does pg_dump.exe need?

I'll add any details if needed, I was trying to figure it out for 4 hours now...

I've tried with pgAdmin4 1.4 and still my backup file was empty so I moved back to pgAdmin3 and it worked like a charm. Although pgAdmin3 is not maintained anymore I suggest you use it until pgAdmin4 is up to it but right now it is way too slow.

Can you upgrade your pgAdmin4 with version 1.2 and try again? https://www.pgadmin.org/

I think they have fixed the issue in new release.

Clearing the items in the path: C:\\Users\\yourUser\\AppData\\Roaming\\pgAdmin seems to do the trick. Tested on PGadmin 4.29.

Be aware that all the sessions and saved servers will be gone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM