Simple tool to merge two HA sqlite DB's in case of a corrupted file
src
directorydocker-compose up
home-assistant_v2.db
and start Home Assistant againCtrl+C
and run docker-compose down
to clean upYou can also use your own webserver to host the files manually, just copy the src
directory to your webserver and do webserver things with it. If you want to go this route you probably know what you are doing.
All the data from the corrupt database is now "long-term statistics" in Home Assistant. This means that it will not show up in the normal views, but you can still access it via "show more" on most cards or entities.