# Database hot backup

| Engine | Entry | Config template |
| --- | --- | --- |
| MySQL / MariaDB | `mysql/mysql_backup.sh` | `mysql/config.example.env` |
| PostgreSQL | `postgres/postgres_backup.sh` | `postgres/config.example.env` |
| SQLite | `sqlite/sqlite_backup.sh` | `sqlite/config.example.env` |

Copy each `config.example.env` to the runtime env name your process manager or
cron exports (or source it before running). Scripts expect environment variables,
not a fixed filename next to the script in all cases — follow the comments inside
each script.

After logical dumps land on disk, use `../paths/` or `../docker-volumes/` if you
also need restic offsite copies.
