NeonN
Neon11mo ago
5 replies
ill-bronze

pg_dump: Error - could not translate host name to address

I am trying to save my data using pg_dump with my direct connection string like so (in C:\Program Files\PostgreSQL\17\bin>):
.\pg_dump --schema-only --no-privileges --no-owner "postgresql://postgres:<MY_PASSWORD>@db.blahblahblah.supabase.co:5432/postgres"

I get the error pg_dump: error: could not translate host name "db.blahblahblah.supabase.co" to address: Name or service not known

I tried using https and that didn't work either.
Was this page helpful?