Restore backup on Virtualbox

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: I am trying to test if I manage to restore my backup from a computer to a vm

Describe your issue

After starting my backup restoration from the web ui, I get an “Unexpected server error”. If I go inside the history, I get “No available logs”. But I get a huge “traceback” (I dont understand the difference between a traceback and logs btw).

Share relevant logs or error messages

I can’t fit the whole traceback here, but it is very repetitive :

Traceback (most recent call last):
  File "/usr/lib/python3.11/tarfile.py", line 2296, in makelink
    os.symlink(tarinfo.linkname, targetpath)
PermissionError: [Errno 1] Operation not permitted: '/media' -> '/home/yunohost.backup/tmp/20260507-160403/data/home/agro/media'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/tarfile.py", line 2296, in makelink
    os.symlink(tarinfo.linkname, targetpath)
PermissionError: [Errno 1] Operation not permitted: '/media' -> '/home/yunohost.backup/tmp/20260507-160403/data/home/agro/media'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/tarfile.py", line 2296, in makelink
    os.symlink(tarinfo.linkname, targetpath)
PermissionError: [Errno 1] Operation not permitted: '/media' -> '/home/yunohost.backup/tmp/20260507-160403/data/home/agro/media'

During handling of the above exception, another exception occurred:

[Insert dozens if not hundreds of repetition here.]

Traceback (most recent call last):
  File "/usr/lib/python3.11/tarfile.py", line 2296, in makelink
    os.symlink(tarinfo.linkname, targetpath)
PermissionError: [Errno 1] Operation not permitted: '/media' -> '/home/yunohost.backup/tmp/20260507-160403/data/home/agro/media'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 430, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
    return func(**arguments)
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 2281, in backup_restore
    restore_manager.mount()
  File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 1119, in mount
    self.method.mount()
  File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 1990, in mount
    tar.extractall(members=subdir_and_files, path=self.work_dir)
  File "/usr/lib/python3.11/tarfile.py", line 2089, in extractall
    self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
  File "/usr/lib/python3.11/tarfile.py", line 2130, in extract
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
  File "/usr/lib/python3.11/tarfile.py", line 2211, in _extract_member
    self.makelink(tarinfo, targetpath)
  File "/usr/lib/python3.11/tarfile.py", line 2306, in makelink
    self._extract_member(self._find_link_target(tarinfo),
  File "/usr/lib/python3.11/tarfile.py", line 2211, in _extract_member
    self.makelink(tarinfo, targetpath)
  File "/usr/lib/python3.11/tarfile.py", line 2306, in makelink
    self._extract_member(self._find_link_target(tarinfo),
  File "/usr/lib/python3.11/tarfile.py", line 2211, in _extract_member
    self.makelink(tarinfo, targetpath)
  File "/usr/lib/python3.11/tarfile.py", line 2306, in makelink
    self._extract_member(self._find_link_target(tarinfo),
  File "/usr/lib/python3.11/tarfile.py", line 2211, in _extract_member
    self.makelink(tarinfo, targetpath)
  File "/usr/lib/python3.11/tarfile.py", line 2306, in makelink
    self._extract_member(self._find_link_target(tarinfo),
  File "/usr/lib/python3.11/tarfile.py", line 2211, in _extract_member
    self.makelink(tarinfo, targetpath)

[Insert dozens if not hundreds of repetition here.]

  File "/usr/lib/python3.11/tarfile.py", line 2306, in makelink
    self._extract_member(self._find_link_target(tarinfo),
  File "/usr/lib/python3.11/tarfile.py", line 2211, in _extract_member
    self.makelink(tarinfo, targetpath)
  File "/usr/lib/python3.11/tarfile.py", line 2306, in makelink
    self._extract_member(self._find_link_target(tarinfo),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/tarfile.py", line 2470, in _find_link_target
    if tarinfo.issym():
       ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/tarfile.py", line 1449, in issym
    return self.type == SYMTYPE
           ^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded in comparison

Extra info : I use a share folder to give access to the archive from the host system. But I checked the access and it is supposed to have read AND write access.