Hi,
I had to change a faulty backup device which I used for backup.
The new device has the same name and the same path, but backup permanently fail.
I also deleted the old network share in HA config and recreated it; all can be accessed. I also copied the old backup files to it and they are being displayed. But as soon as I try to take a backup, I get this in the supervisor logs:
24-01-03 20:21:28 INFO (MainThread) [supervisor.backups.manager] Found 39 backup files
24-01-03 20:21:28 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/16e1f036.tar: unexpected end of data
24-01-03 20:21:28 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/1f3a34b3.tar: unexpected end of data
24-01-03 20:21:29 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/af15dd8a.tar: unexpected end of data
24-01-03 20:21:29 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/c0a89f2c.tar: unexpected end of data
24-01-03 20:21:29 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/deb9cf87.tar: unexpected end of data
24-01-03 20:21:32 INFO (MainThread) [supervisor.backups.manager] Found 39 backup files
24-01-03 20:21:33 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/16e1f036.tar: unexpected end of data
24-01-03 20:21:33 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/1f3a34b3.tar: unexpected end of data
24-01-03 20:21:33 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/af15dd8a.tar: unexpected end of data
24-01-03 20:21:33 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/c0a89f2c.tar: unexpected end of data
24-01-03 20:21:34 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/deb9cf87.tar: unexpected end of data
24-01-03 20:21:34 INFO (MainThread) [supervisor.backups.manager] Found 39 backup files
24-01-03 20:21:34 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/16e1f036.tar: unexpected end of data
24-01-03 20:21:34 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/1f3a34b3.tar: unexpected end of data
24-01-03 20:21:35 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/af15dd8a.tar: unexpected end of data
24-01-03 20:21:35 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/c0a89f2c.tar: unexpected end of data
24-01-03 20:21:35 ERROR (MainThread) [supervisor.backups.backup] Can’t read backup tarfile /data/mounts/BackupNAS/deb9cf87.tar: unexpected end of data
24-01-03 20:21:44 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
24-01-03 20:21:44 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
24-01-03 20:21:50 INFO (MainThread) [supervisor.backups.manager] Backup 89dc5312 starting stage addon_repositories
24-01-03 20:21:50 INFO (MainThread) [supervisor.backups.manager] Backup 89dc5312 starting stage docker_config
24-01-03 20:21:50 INFO (MainThread) [supervisor.backups.manager] Creating new full backup with slug 89dc5312
24-01-03 20:21:50 ERROR (MainThread) [supervisor.backups.manager] Backup 89dc5312 error
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/backups/manager.py”, line 240, in _do_backup
async with backup:
File “/usr/src/supervisor/supervisor/backups/backup.py”, line 308, in aenter
self._tmp = TemporaryDirectory(dir=str(self.tarfile.parent))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/tempfile.py”, line 854, in init
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/tempfile.py”, line 368, in mkdtemp
_os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: ‘/data/mounts/BackupNAS/tmp7w28_c_f’
No idea why, Data has been copied 1:1 and write permissions are there…