PgAdmin 4: Terminate database backup process
Asked Answered
B

2

13

I am attempting to back up a PostgreSQL database from pgAdmin 4, but a pg_dump backup process is already running, and I am unable to stop it.

I've restarted the postgres server, restarted the server OS, and restarted pgAdmin, but the pg_dump backup process is still running.

Update: Removing and reinstalling postgresql and pgAdmin 4 did not solve the problem. The backup process resumed.

How can I stop this process?

Basilica answered 19/10, 2016 at 17:8 Comment(2)
I had to kill the process with task manager. Because of this (and many other) problem I decided to wait until the developers finish up their work on PgAdmin4 and have installed old good PgAdmin3, still supported by BIGSQL.Torsk
Same here, absolute nightmare. Even when we restart pgAdmin 4, the backup is still on going. Even after killing the process. I had to stop the pg server, kill the process several times to make it stopRepercussion
D
0

I managed to stop it (actually fail it and then close it) by doing this workaround:

  • closing PGAdmin 4
  • killing all pg_restore/pg_admin processes
  • for restore: rename/move/delete file restoring from
  • for backup: temporarily remove access rights from target filesystem (or rename target folder to "break the path" in the PGAdmin job)

Next time you open PG-Admin it will try to start the job again, but will fail immediately. Open details and close with "X" and it's gone.

Dallon answered 1/3, 2018 at 14:58 Comment(1)
@ChetanPurohit possibly you have a different version. what did not work for you? the closing of PGAdmin, the process killing or the file move/rename?Dallon
J
-1

I hade the same problem today, i found this Post: PostgreSQL-Mailinglist with the given answer:

First, click on "Click here for details" link on the dialogue (same dialogue you have attached). When you click on that, another dialogue (details of backup) will show up. Please close that another dialogue through the close button (at upper right), this window will not show up again.

I had to do this ~3 times, and now the "Backup-Window" is gone.

Jot answered 26/10, 2017 at 6:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.