Backup fail, cannot be done

It’s some days that Home Assistant is not able to backup the system. I’ve already tried to change the usb key where the backup it will be written but get always the same errore, this is the logs:

Logger: homeassistant.components.backup
Source: components/backup/manager.py:585
integration: Backup (documentation, issues)
First occurred: February 24, 2026 at 4:46:06 AM (6 occurrences)
Last logged: 5:23:56 AM

Unexpected error for hassio.bckup1: Unknown error, see Supervisor logs (check with 'ha supervisor logs')
Unexpected error for hassio.backup: Unknown error, see Supervisor logs (check with 'ha supervisor logs')
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/backup/manager.py", line 585, in upload_backup_to_agent
    await self.backup_agents[agent_id].async_upload_backup(
    ...<2 lines>...
    )
  File "/usr/src/homeassistant/homeassistant/components/hassio/backup.py", line 205, in async_upload_backup
    await self._client.backups.upload_backup(
    ...<2 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/backups.py", line 153, in upload_backup
    result = await self._client.post(
             ^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/client.py", line 189, in post
    return await self._request(
           ^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/client.py", line 136, in _request
    await self._raise_on_status(response)
  File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/client.py", line 79, in _raise_on_status
    raise exc_type(
    ...<3 lines>...
    )
aiohasupervisor.exceptions.SupervisorBadRequestError: Unknown error, see Supervisor logs (check with 'ha supervisor logs')

Did you look at those?

Yes and I have this errors:

2026-02-25 05:23:50.798 INFO (SyncWorker_0) [supervisor.backups.backup] Backing up folder media
2026-02-25 05:23:50.801 INFO (SyncWorker_0) [supervisor.backups.backup] Backup folder media done
2026-02-25 05:23:50.803 INFO (SyncWorker_4) [supervisor.backups.backup] Backing up folder share
2026-02-25 05:23:50.806 INFO (SyncWorker_4) [supervisor.backups.backup] Backup folder share done
2026-02-25 05:23:50.807 INFO (SyncWorker_7) [supervisor.backups.backup] Backing up folder ssl
2026-02-25 05:23:50.809 INFO (SyncWorker_7) [supervisor.backups.backup] Backup folder ssl done
2026-02-25 05:23:50.810 INFO (MainThread) [supervisor.backups.manager] Backup 2d43479e starting stage finishing_file
2026-02-25 05:23:50.812 INFO (MainThread) [supervisor.backups.manager] Backup 2d43479e starting stage copy_additional_locations
2026-02-25 05:23:52.118 ERROR (MainThread) [supervisor.backups.manager] Could not copy backup to bckup1 due to: [Errno 9] Bad file descriptor
2026-02-25 05:23:53.514 ERROR (MainThread) [supervisor.backups.manager] Could not copy backup to backup due to: [Errno 9] Bad file descriptor
2026-02-25 05:23:53.518 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 2d43479e completed
2026-02-25 05:23:53.532 INFO (MainThread) [supervisor.api.backups] Downloading backup 2d43479e
2026-02-25 05:23:53.533 INFO (MainThread) [supervisor.api.backups] Downloading backup 2d43479e
2026-02-25 05:23:56.213 ERROR (MainThread) [supervisor.api.backups] Can't write new backup file: [Errno 9] Bad file descriptor
2026-02-25 05:23:56.215 ERROR (MainThread) [supervisor.api.backups] Can't write new backup file: [Errno 9] Bad file descriptor

The error messages suggest that the external drive is not correctly configured. The drive may not be reachable, the folder that you defined may not exist, the USB device may be broken, etc… Take a closer look at backup and bckup1 and verify if they are mounted.

Can you show us your HA backup path defintion ?

1 Like

this is my remote location for the backup but today is failing to bnackup also on the local storage

What is happening?

The share definition on the FritzBox will not work this way. I also struggled with this. What is working for me is to use the complete Windows path of the attached storage device. In my case this is

FB-Basis/PortableSSD/9 Backup/HA

where FB-Basis is the individual name of the router, PortableSSD the name of the attached device and 9 Backup/HA the directory on the device.

You won’t need credentials in this setup.