DB Dump - network is unreachable

I am trying a DB dump from my remote database. Even though pull requests from the remote DB is working, I can't get the dump to work. Here's the command and the error I get: npx supabase db dump -f supabase/seed.sql Dumping schemas from remote database... pg_dump: error: connection to server at [..] port 5432 failed: Network is unreachable Is the server running on that host and accepting TCP/IP connections? 1) I verified that my db connection is using ipv4 currently on Supabase end 2) I made sure my network has ipv6 address and can curl IPv6 requests (just to be sure) 3) I made sure that there are no network bans Any help would be highly appreciated!
3 Replies
Kevin Brolly
Kevin Brolly2y ago
Does it instantly error or does it error after a while? How big is the DB? What version of CLI are you using (I would recommend updating to latest and trying again)
orcun
orcunOP2y ago
It instantly errors, doesn't really wait for anything. (And just to re-iterate, db pulls work fine) I am on 1.136.3, I've also tried supabase@beta as well, no luck there either Even regular pg dump works (I'm getting some pkey error there but)
Mike
Mike8mo ago
Hi, did this get resolved? I'm getting the same, using the supabase CLI. but I only want the data "--data-only"

Did you find this page helpful?