Backup error on Kubernetes #422

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

Originally created by @mario-bam on 11/10/2025

I have successfully added the connection to the PostgreSQL 16 database on Kubernetes, but when I try to run the backup manually, I encounter the following error:

PostgreSQL authentication failed. Check username and password. stderr: pg_dump: error: connection to server at "bam-svc-database16-tickethead-primary.bam-svc.svc" (10.43.142.148), port 5432 failed: FATAL: password authentication failed for user "event-user" password retrieved from file "/tmp/pgpass2371797080/.pgpass" connection to server at "bam-svc-database16-tickethead-primary.bam-svc.svc" (10.43.142.148), port 5432 failed: FATAL: password authentication failed for user "event-user" password retrieved from file "/tmp/pgpass2371797080/.pgpass"

I don’t see that the file /tmp/pgpass2371797080/.pgpass exists in the container, only an empty directory /tmp/pgpass2371797080/.

*Originally created by @mario-bam on 11/10/2025* I have successfully added the connection to the PostgreSQL 16 database on Kubernetes, but when I try to run the backup manually, I encounter the following error: `PostgreSQL authentication failed. Check username and password. stderr: pg_dump: error: connection to server at "bam-svc-database16-tickethead-primary.bam-svc.svc" (10.43.142.148), port 5432 failed: FATAL: password authentication failed for user "event-user" password retrieved from file "/tmp/pgpass2371797080/.pgpass" connection to server at "bam-svc-database16-tickethead-primary.bam-svc.svc" (10.43.142.148), port 5432 failed: FATAL: password authentication failed for user "event-user" password retrieved from file "/tmp/pgpass2371797080/.pgpass"` I don’t see that the file /tmp/pgpass2371797080/.pgpass exists in the container, only an empty directory /tmp/pgpass2371797080/.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#422