Extracting Database file from deployed project
I have Django project deeplyed in my railway account, and I am trying to extract sqlite database file, where I have my current users .. If I will commit changes to GitHub it will automatically reset database file in initial state. Please tell me if it is possible to extract database file from it or not? ..
7 Replies
Project ID:
N/A
You might find these helpful:
- Is it possible to download the docker image from a running railway app?
- Django : backup files uploaded to RailWay
- Database flask python on Railway hosting
⚠️ experimental feature
it's not, and to prevent this issue in the future you'll want to use one of the databases railway provides, I recommend using postgre
Thanks Brody
I just want to replace in my Django project sqlite to postgre right? and that's it..?
correct
you know aside from obviously additing a postgre database to your railway project, settings up the variable references in your service and using those variables in the Django database adapter
Thank you again!
no problem!