upload images
i need to create MERN project and upload it to railway servers
i need to upload user profile image so this images will be deleted after github update ?
8 Replies
Project ID:
N/A
Volumes can be used to store any kind of data or files persistently between deploys
Including images and profile pictures ofc
how to take a backup from the volume ?
For now it's totally on your application, railway just provides mountable space to store stuff
Om but if i need to take this file to my localhost how can i take a copy from the volume ?
to reiterate on what maddsua has said, you would need to add that functionality to your app
Can you share an example for it ?
it's nothing specific to railway, attach a volume and then use that mount point as the location to store your files using the basic file APIs your language of choice provides