Ahh im og steht doch bissl mehr, war im falschen Modus
23-11-20 22:20:23 ERROR (MainThread) [supervisor.homeassistant.module] Can’t backup Home Assistant Core config folder: [Errno 5] I/O error
23-11-20 22:20:23 ERROR (MainThread) [supervisor.backups.manager] Backup 6b169d65 error
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/homeassistant/module.py”, line 386, in backup
await self.sys_run_in_executor(_write_tarfile)
File “/usr/local/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/supervisor/supervisor/homeassistant/module.py”, line 377, in _write_tarfile
atomic_contents_add(
File “/usr/local/lib/python3.11/site-packages/securetar/init.py”, line 188, in atomic_contents_add
atomic_contents_add(tar_file, directory_item, excludes, arcpath)
File “/usr/local/lib/python3.11/site-packages/securetar/init.py”, line 188, in atomic_contents_add
atomic_contents_add(tar_file, directory_item, excludes, arcpath)
File “/usr/local/lib/python3.11/site-packages/securetar/init.py”, line 188, in atomic_contents_add
atomic_contents_add(tar_file, directory_item, excludes, arcpath)
File “/usr/local/lib/python3.11/site-packages/securetar/init.py”, line 191, in atomic_contents_add
tar_file.add(directory_item.as_posix(), arcname=arcpath, recursive=False)
File “/usr/local/lib/python3.11/tarfile.py”, line 2180, in add
self.addfile(tarinfo, f)
File “/usr/local/lib/python3.11/tarfile.py”, line 2208, in addfile
copyfileobj(fileobj, self.fileobj, tarinfo.size, bufsize=bufsize)
File “/usr/local/lib/python3.11/tarfile.py”, line 252, 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 249, in _do_backup
await backup.store_homeassistant(
File “/usr/src/supervisor/supervisor/backups/backup.py”, line 565, in store_homeassistant
await self.sys_homeassistant.backup(homeassistant_file, exclude_database)
File “/usr/src/supervisor/supervisor/jobs/decorator.py”, line 296, in wrapper
raise err
File “/usr/src/supervisor/supervisor/jobs/decorator.py”, line 289, in wrapper
return await self._method(obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/supervisor/supervisor/homeassistant/module.py”, line 389, in backup
raise HomeAssistantBackupError(
supervisor.exceptions.HomeAssistantBackupError: Can’t backup Home Assistant Core config folder: [Errno 5] I/O error
es scheint als hätte er mit mehreren Dateien Probleme oder?
Nachtrag:
wenn ich den Blog richtig verstehe soll ich via SSH den bestimmten tar befehl senden und schauen bei welcher Datei er stehen bleibt.
Aber im laufenden HA sind doch dateien auch durch Prozesse gesperrt oder? die könnten dann fälschlicherweise als defekt angesehen werden oder sehe ich das falsch?
Nachtrag_2
Tar befehl hab ich jetzt mal auf das Homeassistant verzeichnis laufen lassen.
Ergebnis Datei: home-assistant_v2.db ist wohl corrupt / defekt.
so nun die spannende Fragen:
ist es wohl die einzige Datei und kann ich auf die Datei eventuell verzichten? Laut Google ist es die History über Zustände vom Sensoren und Parametern. Es wird behauptet ich kann Sie einfach entfernen. seht ihr das auch so?