我一直在使用postgreSQL,尝试使用命令转储普通备份文件:
psql -U postgres DATABASE < path to file.backup
但是获得对等身份验证失败甚至尝试将pg_hba.conf从peer改为md5,但没有奏效。
pg_hba.conf
peer
md5