#How to get into PSQL container (cli)

22 messages · Page 1 of 1 (latest)

cyan cobalt
#

Project ID: 3337bbd9-871e-41a3-a35e-ace982a5dc04

I would like to get into my Postgres container and drop a FK because it's giving me errors.

How can I do such thing?

patent gulchBOT
#

Project ID: 3337bbd9-871e-41a3-a35e-ace982a5dc04

dim timber
#

you would use the psql command line tool locally, or any other software that would allow you to run queries on your database, like dbgate

cyan cobalt
dim timber
#

yep!

cyan cobalt
#

I have another problem now it seems haha.
Because I already tried some things, i decided to remove Postgres to spin up a new one.
But it's been stuck on this for like a few minutes now and a new one won't spin up

dim timber
#

theres an ongoing incident, please keep an eye on #🚨|incidents

cyan cobalt
#

Oh thanks! Seems like I accidentally hid that kekw

dim timber
#

it happens

dim timber
#

the incident was resolved, are you still facing this issue?

cyan cobalt
dim timber
#

unless you took a backup, no

cyan cobalt
#

How can I make a backup?

dim timber
#

well if you didnt, its far too late now. but the answer depends on the type of app

cyan cobalt
#

I want to make a backup of the Postgres data

dim timber
#

pg_dump

cyan cobalt
#

I'm sorry?

#

What do you mean?

dim timber
#

google can be a very helpful resource when something is said that you may not understand

cyan cobalt
#

You could have said it's a command lol

#

Is there a way to run such command every 30 minutes or so?

dim timber