> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/hosting/configuration/supported-databases-settings.md).

# Supported databases for Duaer

Self-hosted Duaer can use SQLite or Postgres.
## SQLite or Postgres

SQLite keeps data in one file and fits a single process. A backup is a copy of that file; do not copy while a process is writing.

In queue mode the main process and workers all read the same executions and workflows — use Postgres. Do not let several processes write one SQLite file. Put the connection string in the environment and back it up with the [encryption key](/hosting/configuration/encryption-keys.md).
## Questions

### Which databases can you use in Duaer?

SQLite for a single process, Postgres when queue mode or several processes share data. Do not let several processes write one SQLite file.

