# Where the Data Lives When Your API Is Online

Render's free web service wipes its files every time it redeploys, restarts or spins down, so a SQLite file there holds demo data that the API seeds at startup when the database is empty, and keeping data for real takes a persistent disk or a hosted database such as PostgreSQL, which cost money.

![Cheat sheet: Where the Data Lives When Your API Is Online](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/eb1c212538e242bf82f4a2f6c462a944.webp)

- Category: FastAPI
- Level: Journeyman
- Tags: Ephemeral Filesystem, fastapi, Persistent Disk, PostgreSQL, rest-api, Seed Data
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/fastapi-deploy-where-data-lives-cheat-sheet
