Hi,
I mounted a NAS share with Samba, which seems to work. On trying to start a manual backup, I get an error message:
23-07-05 16:23:10 ERROR (MainThread) [supervisor.backups.backup] Can't backup folder media: [Errno 2] No such file or directory: '/data/media/frigate/clips/garage-1688394132.050878-55ahpc.jpg'
23-07-05 16:23:10 ERROR (MainThread) [supervisor.backups.manager] Backup fd886ad4 error
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/backups/backup.py", line 460, in store_folders
await self.sys_run_in_executor(_folder_save, folder)
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/backups/backup.py", line 442, in _folder_save
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 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 2157, in add
tarinfo = self.gettarinfo(name, arcname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/tarfile.py", line 2030, in gettarinfo
statres = os.lstat(name)
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/data/media/frigate/clips/garage-1688394132.050878-55ahpc.jpg'
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 210, in _do_backup
await backup.store_folders(folder_list)
File "/usr/src/supervisor/supervisor/backups/backup.py", line 462, in store_folders
raise BackupError(
supervisor.exceptions.BackupError: Can't backup folder media: [Errno 2] No such file or directory: '/data/media/frigate/clips/garage-1688394132.050878-55ahpc.jpg'
I’m not sure if backup was working correctly some time ago, but I can see backups within the list and even can download them. Surprisingly, the folder on the NAS does not contain the backup files?