Hi, I’m facing the issue, that automated backups of my complete system are not working anymore since moving from Zigbee2MQTT to ZHA.
Of course I also want to backup my system with ZHA.
Error(s):
2025-09-05 22:09:19.047 ERROR (MainThread) [supervisor.homeassistant.module]
Preparing backup of Home Assistant Core failed. Failed to inform HA Core: Unsuccessful websocket message - {‘id’: 23, ‘type’: ‘result’, ‘success’: False, ‘error’: {‘code’: ‘pre_backup_actions_failed’, ‘message’: “Error during pre-backup: Data is too short, must be at least 20 bytes: b’c\x00\x00\x00\x00\x00\x00\x00\x99\xaf\xd4\xfe\xff\x81\x8eX\xff\x01\x05’”}}.
2025-09-05 22:09:19.054 ERROR (MainThread) [supervisor.backups.manager]
Backup 5d42f0da error: Preparing backup of Home Assistant Core failed. Failed to inform HA Core: Unsuccessful websocket message - {‘id’: 23, ‘type’: ‘result’, ‘success’: False, ‘error’: {‘code’: ‘pre_backup_actions_failed’, ‘message’: “Error during pre-backup: Data is too short, must be at least 20 bytes: b’c\x00\x00\x00\x00\x00\x00\x00\x99\xaf\xd4\xfe\xff\x81\x8eX\xff\x01\x05’”}}.
System:
- Core: 2025.9.1
- Supervisor: 2025.08.3
- Operating System: 16.1
- Frontend: 20250903.3
- ZHA: 0.0.70
- Zigbee Dongle: model: CC2652 // manufacturer: Texas Instruments // version: Z-Stack 20210120
- HA runs as a virtual machine on Proxmox
Backups of other addons when updating are working fine. Only backups including Core backups are facing this issue. It does not matter, where I store the backups.
When I disable the ZHA addon, also Core backups are working fine.
I do have a workaround including the addon spook. I automated my backups with disabling ZHA before and enabling after the backup.
I also tried to delete all of my backups and renew the encryption key.
Thanks in advance for any help!