Storage corruption detected for `core.restore_

Storage corruption detected for `core.restore_state`
Critical ⸱ Reported by Home Assistant Core Integration
The core.restore_state storage could not be parsed and has been renamed to /config/.storage/core.restore_state.corrupt.2025-03-09T02:04:42.264885+00:00 to allow Home Assistant to continue.

A default core.restore_state may have been created automatically.

If you made manual edits to the storage file, fix any syntax errors in /config/.storage/core.restore_state.corrupt.2025-03-09T02:04:42.264885+00:00, restore the file to the original path /config/.storage/core.restore_state, and restart Home Assistant. Otherwise, restore the system from a backup.

Select Submit below to confirm you have repaired the file or restored from a backup.

The exact error was: Error while loading /config/.storage/core.restore_state: unexpected character: line 1 column 1 (char 0)

How to fix and prevent this?

Fix: restore your last backup.

Prevent: do not manually edit the .storage registry.

I didn’t change anything recently except upgrading to 2025.3.1