Database error MariaDB - how to fix without loosing data

Hi,
since a few days I have errors with my mariadb. Does anybody has an idea how to fix the database without loosing the data (esp. my history data for the energy dashboard). Even when trying a mysqldump within the container I am getting an error (Error 2013: Lost connection to MySQL server during query when dumping table events at row: 494). I have no clue how to try an innodb_force_recovery. When I am trying to set the variable to 1 within the container it is useless when restarting, the file is re-written (by nature). Important to tell… I have no clue about databases.
Thx for any help,
Steffen

1 Like