R
Railway•4mo ago
Web Dev Cody

How to get Volume Data

I have an application where I'm using sqlite with a volume mount. At some point, I want to export the sqlite data or do analytics over it. What is the proper way to download that sqlite data from my volume mount and is that even possible in railway?
Solution:
and protect that endpoint
Jump to solution
7 Replies
Percy
Percy•4mo ago
Project ID: N/A
Web Dev Cody
Web Dev CodyOP•4mo ago
it seems like only 1 service can be attached to the volume, so I don't know how I can even setup a remote web ui to view the data when it's attached to my running service
Brody
Brody•4mo ago
you would need to juggle the volume around to the filebrowser template
Web Dev Cody
Web Dev CodyOP•4mo ago
juggle, meaning I'd need to turn off my running service?
Brody
Brody•4mo ago
correct
Web Dev Cody
Web Dev CodyOP•4mo ago
eh, ok maybe instead I'll just add an "export" button to my api which streams back my sqlite database 😆
Solution
Web Dev Cody
Web Dev Cody•4mo ago
and protect that endpoint
Want results from more Discord servers?
Add your server