-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Description
The problem
Encounters since few days an issue on backing up HA.
- securing the backup with encryption key.
- storing the backup on a NFS mounted volume.
Source: components/backup/config.py:594
intégration: Backup (documentation, problèmes)
S'est produit pour la première fois: 4 août 2025 à 02:48:43 (2 occurrences)
Dernier enregistrement: 02:48:54
Error creating backup: Backup failed: [{'type': 'BackupError', 'message': 'Backup b32a91e5 error, see supervisor logs', 'stage': 'finishing_file'}]
Error creating backup: Backup failed: [{'type': 'BackupError', 'message': 'Backup 741a6161 error, see supervisor logs', 'stage': 'finishing_file'}]```
Supervisor logs:
```2025-08-05 02:48:54.199 ERROR (MainThread) [supervisor.backups.manager] Backup 741a6161 error
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/backups/manager.py", line 532, in _do_backup
async with backup.create():
~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/contextlib.py", line 221, in __aexit__
await anext(self.gen)
File "/usr/src/supervisor/supervisor/backups/backup.py", line 501, in create
size_bytes = await self.sys_run_in_executor(_close_outer_tarfile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/backups/backup.py", line 494, in _close_outer_tarfile
outer_secure_tarfile.close()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/securetar/__init__.py", line 245, in close
self._tar.close()
~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/tarfile.py", line 2048, in close
self.fileobj.close()
~~~~~~~~~~~~~~~~~~^^
OSError: [Errno 5] I/O error```
Checked the NFS authorization, and seems ok.
(HA is listing backups present on NFS)
### What version of Home Assistant Core has the issue?
core-2025.7.4
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
backup
### Link to integration documentation on our website
_No response_
### Diagnostics information
_No response_
### Example YAML snippet
```yaml
Anything in the logs that might be useful for us?
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels