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

10 months ago
Use the DATABASE_URL in your case
10 months ago
Can you show me the URL?
10 months ago
Just the URL, remove the credentials
10 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

10 months ago
5432
10 months ago
Now deploy it
10 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?
10 months ago
yes!
i got something like this: trolley.proxy.ererer.net:XXXX. do I copy the XXXX as well or without the XXXX
10 months ago
put the XXXX in the Port field
10 months ago
check the rest of the credentials, you can find it in the service env vars
10 months ago
PGPASSWORD and PGUSER
10 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
10 months ago
That too 😆
10 months ago
iirc there's a statistics tab in the PGAdmin client that shows the DB size in bytes
10 months ago
But I could be wrong
10 months ago
You could also just look at this lol

10 months ago
metrics tab on the DB's volume
10 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
10 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
10 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?
10 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
10 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?