Image Storage

hello everyone, can I use Postgresql to store the images which my users upload in django-project?
Solution:
that would not be a good idea, you want to store images in a volume https://docs.railway.app/guides/volumes
Jump to solution
9 Replies
Percy
Percy3mo ago
Project ID: 118c0d3a-2e06-4eee-b22c-ab02d2947048
aydin26532
aydin265323mo ago
118c0d3a-2e06-4eee-b22c-ab02d2947048
Solution
Brody
Brody3mo ago
that would not be a good idea, you want to store images in a volume https://docs.railway.app/guides/volumes
aydin26532
aydin265323mo ago
ok thank you I will look at it? additionally is there any option to back up the data of my project periodically to my local device
Brody
Brody3mo ago
railway does not provide a way to natively backup a volume yet
aydin26532
aydin265323mo ago
ok, can I backup other data, I mean structured data in tables can I back up them
Brody
Brody3mo ago
you can backup the postgres database very easily with this template https://railway.app/template/I4zGrH note, it does not have to use aws s3, i recommend using cloudflare r2's s3 compatible service.
aydin26532
aydin265323mo ago
thank you
Brody
Brody3mo ago
no problem