How to get Volume Data
webdevcody
PROOP

2 years ago

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?

6 Replies

webdevcody
PROOP

2 years 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


2 years ago

you would need to juggle the volume around to the filebrowser template


webdevcody
PROOP

2 years ago

juggle, meaning I'd need to turn off my running service?


2 years ago

correct


webdevcody
PROOP

2 years ago

eh, ok maybe instead I'll just add an "export" button to my api which streams back my sqlite database 😆


webdevcody
PROOP

2 years ago

and protect it


Loading...