Long term statistics have gone or dissapeared

Help… All my long term statistics have gone… I have backups but i don’t know since when they disappeared… how can i activate them again without it being a one by one action?

Anything in Developer tools | Statistics?

Nothing that seems to be different, a few sensors with outliers but that’s it sadly. I upgraded from a pi 3 to an odroid c2 for the extra ram and it was working. It was after one of the HASS updates i believe.

I’ve seen that the backup size dropped significantly:


Most of my data comes from ESPHome and the sensors have state_class set to measurment, total or total increasing. But even those are not persisting…
Same for Zigbee devices.

sensor:
  - platform: dht
    pin: GPIO2
    temperature:
      name: "Entrance Temperature"
      filters:
        - or:
          - throttle: 60s
          - delta: 1
      state_class: measurement

Anyone? Any suggestions? Can I merge old backups with new ones?
No one else had they long term stats disappear?