I'm following https://help.pythonanywhere.com/pages/RegularPostgresBackups/ but when I execute the command in the console I am being asked for a password. If I enter through I get an error
pg_dump: [archiver (db)] connection to database "db_name" failed: fe_sendauth: no password supplied
I am sure I have done this previously without supplying a password. If I execute the command from my root directory instead it seems to work but I get the error:
pg_dump: [custom archiver] could not open output file "pgbackup2018-12-12-1924.dump": Permission denied
Which I assume is because I can't create files in that directory.