Question about databases
conneradamsmaine
HOBBYOP

14 days ago

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

Solved

0 Replies

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


conneradamsmaine
HOBBYOP

14 days ago

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


conneradamsmaine
HOBBYOP

14 days 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

14 days ago

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


conneradamsmaine
HOBBYOP

14 days 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

14 days ago

Awesome, thanks.


Status changed to Solved conneradamsmaine 14 days ago


Loading...