ttionya / vaultwarden-backup

Backup vaultwarden (formerly known as bitwarden_rs) SQLite3/PostgreSQL/MySQL/MariaDB database by rclone. (Docker)
MIT License
1.1k stars 122 forks source link

[Postgres] no password supplied #160

Closed lkshrk closed 3 months ago

lkshrk commented 3 months ago

Hi there,

I tried to setup vaultwarden-backup with a postgres database. My configuration:

DB_TYPE: POSTGRESQL
DB_URL: postgresql://vaultwarden:***(17 Chars)@vaultwarden-postgresql:5432/vaultwarden

Which indicates for me PG_PASSWORD is correctly picked up. However I receive the following output:

backup vaultwarden postgresql database Password: pg_dump: error: connection to server at "vaultwarden-postgresql" (10.43.16.81), port 5432 failed: fe_sendauth: no password supplied backup vaultwarden postgresql database failed

changing up the user did not lead to success. Could you please take a look? Thanks a lot

lkshrk commented 3 months ago

I'm having trouble with the write permissions in the container, sorry bothering