Severel forum entries try to tackle database migrations.
It’s great to start of with a simple database setup, but once HA is used more seriously it’s nice to keep the “old” data when moving to a more appropriate database such as InfluxDb, mariadb.
Examples of topics:
- Migration from mysql to influxdb - #5 by mrvladis ;
- Migrate data from SQLite to MySQL ;
- Migrating home assistant database from sqlite to mariadb .
While the instructions may have been more or less valid and not heavily tested at one point in time, the database structure is regularly changing, and has changed quite a bit recently.
Therefore, my request is that migrations would be integated and updated along with HA updates and benefit from automated testing.