Restore backup error

Hello,

I am trying to restore a postgres backup but when I do so I have the following errors :

03/01/2022 02:58:34 [Error] Failed to restore “d9ql5q4q1klesv” database. ERROR: cannot drop the currently open database
03/01/2022 02:58:35 [Error] Job execution error: ERROR: cannot drop the currently open database Server name: “XXXXXX”.

I did not find any topic about this error, could someone help me ?

Thank you

Hi Arnaud_Dutilleul,

To resolve the issue, please try to remove the database manually or disable all other connections. You can find more detail on how to do it in the following thread: postgresql - Postgres drop database error: pq: cannot drop the currently open database - Stack Overflow

Thank you and sorry for the inconvenience.