Remote to local dump fails

pg_dump 'postgres://user:[YOUR-PASSWORD]@db.[PROJECT-ID].supabase.co:5432/postgres' > database-dump.sql

pg_dump: error: connection to database "postgres" failed: could not connect to server: Connection refused
Is the server running on host "db.aqkroagodsljlpatznnr.supabase.co" (3.72.246.73) and accepting
TCP/IP connections on port 5432?

Ermm, yes? I can't tell if I should supply a password as it doesn't complain about that. . . . or a user of some sort
Was this page helpful?