I use the Google Drive backup, it has an option to stop any add-on when backing up including MariaDB (which I do). I don’t lose any data from the energy dashboard, so Tom’s suggestion is probably the solution.
MariaDB is checked. I did that a while ago under advice from someone and it has worked ever since. Can’t even remember the reason, but I think it was something to do with DB restores being corrupt if you didn’t stop it.
Is the data really lost or just showing up under the 02:00 bucket?
There could be cases that if the energy device can’t report back in time, the total ends up being used under the next bucket (02:00 in this case). This could happen if you have router/Wi-Fi resets as well.
you re right, seems energy dashboard is not lost but display the x2 consumption, so he add the 1:00 am consumption + the 2:00 am.
i have uncheck in google backup addon and all is good now.
the problem is when i will restore a backup i ll probably have troublevwith maria db, that why the developper checked by default the option ti stop mariadb before backup…
You miss 2:00 time when bucket from 1:00-1:59:59 is written. That is why your 2:00-2:59:59 shows double.
That is exact reason why I do not do anything around midnight - not to mess statistics.
Just schedule your backup between hours - 2:10 would do.
i have check again to stop the Maria-Db AddOn in Google Backup AddOn and manualy make a backup in Google Backup AddOn at 3:15 PM and nothing is lost, so far so good…thanks @stomko thats the solution!