Hi Streamlit team/community,
I’m trying to find out whether there is any way to recover a local SQLite database file from a Streamlit Community Cloud app after a reboot/redeploy.
The app is a FIFA 2026 prediction tracker. It stored user predictions in a local SQLite file named predictions.sqlite3 in the app directory. After a code push/redeploy and app reboot, the prediction data disappeared. The app still runs, but the old prediction rows are gone.
I understand now that local files on Community Cloud may be ephemeral and should not be used as durable storage, but I’m hoping to confirm whether there is any possible recovery path, snapshot, cache, backup, or Streamlit-side support option for the previous app filesystem/container.
Deployment info:
- The app is deployed, not just local.
- Hosting platform: Streamlit Community Cloud
- Public app link:
https://fifa-tracker-gfkwcegsenzzg4pmgfyzsp.streamlit.app/ - Public GitHub repo:
GitHub - LexusKing53/fifa-tracker · GitHub
Important repo detail:
- There is currently no
requirements.txtin the repo. - The lost file was
predictions.sqlite3. - That SQLite file was not tracked by GitHub.
- The app used Python’s built-in
sqlite3module throughprediction_store.py.
Error message:
- There is no Python traceback or visible Streamlit error.
- The app loads successfully.
- The problem is data loss: the previous SQLite rows are gone after reboot/redeploy.
Versions:
- Local Python version: 3.11.7
- Local Streamlit version: 1.58.0
- Community Cloud version may not be pinned because the repo currently has no requirements file.
My questions:
- Does Streamlit Community Cloud keep any recoverable snapshot of an app’s local filesystem after reboot/redeploy?
- Is there any support-side way to recover a previous
predictions.sqlite3file from the app container? - If not, can you confirm that local SQLite files on Community Cloud should be treated as ephemeral and not recoverable?
- For future use, is the recommended fix to move predictions to an external database such as Supabase, Neon/Postgres, Google Sheets, or another persistent service?
Thank you.