On Fri, Jan 25, 2019 at 6:31 AM Johannes Lüdke <
[email protected]> wrote:

> Hi,
>
> I am setting up wal-e on a production server. My local proof of concept
> worked well, but now I get an
>
> ```
> FATAL: Ident authentication failed for user "postgres" (SQLSTATE 28000)
> ```
>

It means that, for whatever reason, the defaults (which tend to rely on
unix sockets and peer authentication, as wal-e is conveniently run as the
postgres unix user by default), do not work for you.


> What is the recommended way to fix this? Can I configure which
> user/password wal-e uses to connect to the db?
>

If you can't make the defaults work for some reason (I think you should
justify to yourself why that may be, and check pg_hba.conf), you have
control over credentials via libpq environment variables.
https://www.postgresql.org/docs/current/libpq-envars.html

-- 
You received this message because you are subscribed to the Google Groups 
"wal-e" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to