Persistent Storage Issue on Free Plan - Impact on Feature Implementation
mek123456
HOBBYOP

2 months ago

Dear Railway Team,

I'm currently using the free plan for my Flask app with SQLite, but ephemeral storage causes data loss on every redeploy, making it impossible to implement key features like user account deletion (the DB resets, affecting all users' data).

Will upgrading to the Pro plan resolve this with persistent volumes, allowing features that require stable DB state?

Thank you for your assistance.

Best regards!

Solved$10 Bounty

2 Replies


brody
EMPLOYEE

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 2 months ago


dev
MODERATOR

2 months ago

You'll want to attach a volume to your service, you can then store your sqlite db within the volume which will keep it safe between deployments.

Whether you'll need pro plan will depend on the size of your database and use-case. For business deployments with 5gb+ db sizes, you'll need pro which unlocks (iirc) 250gb storage. If you're using more than 0.5gb then you'll need hobby, otherwise free plan should be fine.

Read more here:


Status changed to Solved dev 2 months ago


Loading...