6 months ago
Hi i get connection timout and cannot connect from pgadmin to postgres
59 Replies
6 months ago
Hi! Make sure you're using the URL provided in the DATABASE_PUBLIC_URL environment variable, not the DATABASE_URL
6 months ago
I cannot.
6 months ago
Can you view the tables if you go to the 'Database' tab?
6 months ago

6 months ago
Use the DATABASE_URL in your case
6 months ago
Can you show me the URL?
6 months ago
Just the URL, remove the credentials
6 months ago
The port is wrong, can you check if you can generate a TCP proxy in the Service settings? You likely don't have one

6 months ago
5432
6 months ago
Now deploy it
6 months ago
After you created the proxy, should be a floating popup asking you to deploy your changes

Connect to your service over TCP using a proxied domain and port - shall I use this new url?
6 months ago
yes!
i got something like this: trolley.proxy.ererer.net:XXXX. do I copy the XXXX as well or without the XXXX
6 months ago
put the XXXX in the Port field
6 months ago
check the rest of the credentials, you can find it in the service env vars
6 months ago
PGPASSWORD and PGUSER
6 months ago
For maximum security you can delete the TCP proxy, connect your services using only the private url and use a Tailscale proxy to connect to your DB without publicly exposing it
6 months ago
That too 😆
6 months ago
iirc there's a statistics tab in the PGAdmin client that shows the DB size in bytes
6 months ago
But I could be wrong
6 months ago
You could also just look at this lol

6 months ago
metrics tab on the DB's volume
6 months ago
Yeah but it isn't 100% correct since it is all of the current deployment vol usage and not specific to that DB
6 months ago
Yeah 100% not the "actual byte size" but a tiny quick "around how much"
if I want to revert back to this older deployment can i still do it? https://share.zight.com/9ZupzdkL
6 months ago
Still view data? Yes I believe so
Q: normally how to long does it take for a 5 GB databse to backup via pgadmin?
6 months ago
Depends heavily on your internet speed 😁
Im on super fast internt and still getting stuck with this DB backup…so annyoing…would be super good to have somehow 1 click save or backup
6 months ago
The Railway pro plan provides scheduled backups!
im on the pro plan - but how can i downlaod the backed up file to my local pc?