-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I receive the following error when trying to back up a Postgres database container that requires a password for pg_dump:
pg_dump: error: connection to server at "adventurelog-db" (172.18.0.2), port 5432 failed: fe_sendauth: no password supplied
The password is provided in an .env file (POSTGRES_PASSWORD). However, it does not seem to be used by stack-back.
When executing pg_dump directly in the database container, it asks for a password, and if provided, the dump succeeds.
As other database containers, e.g., for immich, do not require a password, when using pg_dump within the container, I suspect that the database container used by AdventureLog might have a special configuration. But as far as I understand, that should be no problem, as stack-back should take the password from the env variable and pass it to pg_dump when backing up.