Apparently the full backup and restore is not restoring some of the data. Namely, it is not restoring the database where there are for example energy and long-term statistics and probably some other history data too. That came obvious to me when I had to restore a backup.
What is left out from the full backup actually? How I could include all in the backup and how I could restore everything? I’m used to to play with Linux so at minimum I would need to know what files I need to backup and restore. For databases it would be helpful to share what method should be used for the backup as usually it is not a good idea to just copy a live database file.
I’m running HA on rpi4 with the standard sqlite db. Should I just automate an export and copy of it and then restore over the current db if needed after a fresh install and backup restore? Would it work or not?
Some issues discussed here