Question about databases
conneradamsmaine
HOBBYOP

10 months ago

If I were to reset my database on railway right now would I lose everything?

Solved

8 Replies

If you wiped your database, you'd lose all data stored in the database.


conneradamsmaine
HOBBYOP

10 months ago

If I just reset the instance though? Because it seems like all instances have volatile disk?


conneradamsmaine
HOBBYOP

10 months ago

Like if I just hit the little 3 dots and then redeploy ?


If you repdeloyed the postgres instance, no. The data is stored on a persistent volume that's mounted ot the instance.


conneradamsmaine
HOBBYOP

10 months ago

Alright, assuming it's the same with Redis and Mongo?


conneradamsmaine
HOBBYOP

10 months ago

Just wanted to confirm because I like to do instance restarts every now and then. Clear memory, let everything start up fresh but I didn't want to lose everything


Yes, data will be persisted as it's stored on a persistent volume.


conneradamsmaine
HOBBYOP

10 months ago

Awesome, thanks.


Status changed to Solved conneradamsmaine • 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...