Hi All,
I’m hoping you can help because I have no idea what’s going on.
I am trying to backup home assistant, but when I to start a backup, it looks like it’s loading for a bit and then comes up with this error
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:124
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 8:17:52 PM (1 occurrences)
Last logged: 8:17:52 PM
Failed to to call /backups/new/full - Unknown error, see supervisor
When I check the supervisor logs I see this…
23-02-19 20:17:52 ERROR (MainThread) [supervisor.homeassistant.module] Can't backup Home Assistant Core config folder: [Errno 5] I/O error
23-02-19 20:17:52 ERROR (MainThread) [supervisor.backups.manager] Backup 6e4a12bd error
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/homeassistant/module.py", line 341, in backup
await self.sys_run_in_executor(_write_tarfile)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/homeassistant/module.py", line 332, in _write_tarfile
atomic_contents_add(
File "/usr/local/lib/python3.10/site-packages/securetar/__init__.py", line 176, in atomic_contents_add
atomic_contents_add(tar_file, directory_item, excludes, arcpath)
File "/usr/local/lib/python3.10/site-packages/securetar/__init__.py", line 176, in atomic_contents_add
atomic_contents_add(tar_file, directory_item, excludes, arcpath)
File "/usr/local/lib/python3.10/site-packages/securetar/__init__.py", line 179, in atomic_contents_add
tar_file.add(directory_item.as_posix(), arcname=arcpath, recursive=False)
File "/usr/local/lib/python3.10/tarfile.py", line 2002, in add
self.addfile(tarinfo, f)
File "/usr/local/lib/python3.10/tarfile.py", line 2030, in addfile
copyfileobj(fileobj, self.fileobj, tarinfo.size, bufsize=bufsize)
File "/usr/local/lib/python3.10/tarfile.py", line 248, in copyfileobj
buf = src.read(bufsize)
OSError: [Errno 5] I/O error
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/backups/manager.py", line 167, in _do_backup
await backup.store_homeassistant()
File "/usr/src/supervisor/supervisor/backups/backup.py", line 485, in store_homeassistant
await self.sys_homeassistant.backup(homeassistant_file)
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 156, in wrapper
raise err
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 154, in wrapper
return await self._method(*args, **kwargs)
File "/usr/src/supervisor/supervisor/homeassistant/module.py", line 344, in backup
raise HomeAssistantBackupError(
supervisor.exceptions.HomeAssistantBackupError: Can't backup Home Assistant Core config folder: [Errno 5] I/O error
Please ask if you need anymore info, Thanks!