Flask app with SQLite database hosted getting automatically reset

Flask app with SQLite database hosted getting automatically reset the data saved on DB gets deleted automatically - Is there anything I can do to fix this ?

Demo Site

Hi there,

Thanks for reaching out.

Render instances have an ephemeral filesystem, which means, any new files added after deploy will be lost on the next restart/deploy. If you want to persist a SQLite database, you would need a Disk.

Hope that helps

Alan

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.