Привет, я установил autopostgresqlbackup в Ubuntu 18.04, и я пытаюсь сделать резервную копию своей базы данных
### By default, on Debian systems, only 'postgres' user
### is allowed to access PostgreSQL databases without password.
### In order to dump databases we need to run pg_dump/psql
### commands as 'postgres' with su.#
### The following setting has been added to workraound this issue.
### (if it is set to empty, 'su' usage will be disabled)
SU_USERNAME=postgres
###=====================================================================
### Set the following variables to your system needs
### (Detailed instructions below variables)
###=====================================================================
#### Username to access the PostgreSQL server e.g. dbuser
USERNAME=db-user
### Password
### create a file $HOME/.pgpass containing a line like this
### hostname:*:*:dbuser:dbpass
### replace hostname with the value of DBHOST and postgres with
### the value of USERNAME
### Host name (or IP address) of PostgreSQL server e.g localhost
DBHOST=localhost
### List of DBNAMES for Daily/Weekly Backup e.g. "DB1 DB2 DB3"
DBNAMES="dbname"
И я пытаюсь отправить ее на мою внешнюю почту, и она дает мне
Нет записи passwd для пользователя 'db-user'