gilbertoooooooooo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by gilbertoooooooooo on 12/5/2023 in #questions
Drizzle NextAuth not working
4 replies
Copy postgres prod db data to dev environment
Hi,
I want to copy my prod db data to my dev envirnment db, i tried using
$ pg_dump -U user1 dbname_old_db | psql -U user2 dbname_new_db
but getting
$ pg_dump: error: connection to server at "[my railwaydb host]" (...ip), port [my port] failed: Operation timed out
Is the server running on that host and accepting TCP/IP connections?
for either db host. can anyone help me out perhaps?4 replies