Backup failed for database - authentication failed #398

Closed
opened 2026-04-05 16:16:22 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @MeikelLP on 11/19/2025

Sorry for creating this issue but I don't know what's wrong.
I'm getting the following error:

❌ Backup failed for database "my_database" (workspace "My workspace")

PostgreSQL authentication failed. Check username and password. stderr: pg_dump: error: connection to server at "container-db" (172.29.0.3), port 5432 failed: FATAL:  password authentication failed for user "my_user"
password retrieved from file "/tmp/pgpass1973222307/.pgpass"

I jumped into the postgresus container and executed the following:

pg_dump --user my_user --dbname my_database --host container-db

which worked fine. So no network issue, no authentication issue.

I'm using postgres:18.1-alpine3.22 and rostislavdugin/postgresus:v1.37.0

I tried to reset the password in the config UI but that didn't change anything.

For Context:

  • I migrated the original db from 15 to 18 by importing the 15 backup into a newly created 18 container
  • Names are changed
*Originally created by @MeikelLP on 11/19/2025* Sorry for creating this issue but I don't know what's wrong. I'm getting the following error: ``` ❌ Backup failed for database "my_database" (workspace "My workspace") PostgreSQL authentication failed. Check username and password. stderr: pg_dump: error: connection to server at "container-db" (172.29.0.3), port 5432 failed: FATAL: password authentication failed for user "my_user" password retrieved from file "/tmp/pgpass1973222307/.pgpass" ``` I jumped into the postgresus container and executed the following: ``` pg_dump --user my_user --dbname my_database --host container-db ``` which worked fine. So no network issue, no authentication issue. I'm using `postgres:18.1-alpine3.22` and `rostislavdugin/postgresus:v1.37.0` I tried to reset the password in the config UI but that didn't change anything. For Context: * I migrated the original db from 15 to 18 by importing the 15 backup into a newly created 18 container * Names are changed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#398