sql file that I backedup a long time ago of my website database and now I'm trying to use it but everytime I use:
psql -U <username> -d --password <dbname> -1 -f <filename>.sql
it gives me this error
peer authentication failed for user "USER"
I tried to edit the pg_hba.conf but that did nothing.
how can I do it ?