When a damaged SQLite history database is replaced, its old files can remain on disk indefinitely. Home Assistant reports how many of those files exist and how much space they occupy, with a repair flow that asks before deleting them.

Owners who want the files for recovery can ignore the notice. A later corruption produces a new notice, and confirmation removes only the files that were shown. This cleans up abandoned files; it does not repair the damaged database or its underlying storage.