# Restore backup on Virtualbox

**URL:** <https://forum.yunohost.org/t/restore-backup-on-virtualbox/42306>\
**Category:** Support\
**Tags:** restore-backup, english\
**Created:** [May 20, 2026, 3:09pm UTC](https://forum.yunohost.org/t/restore-backup-on-virtualbox/42306 "2026-05-20T15:09:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PP44](https://forum.yunohost.org/user_avatar/forum.yunohost.org/pp44/32/1779_2.png) [@PP44](https://forum.yunohost.org/u/PP44)\
**Post date:** [May 20, 2026, 3:09pm UTC](https://forum.yunohost.org/t/restore-backup-on-virtualbox/42306/1 "2026-05-20T15:09:57Z")

</div>

**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 :

```auto
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.]

```auto
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.]

```auto
  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

```

---

<div class="post-metadata">

**Author:** ![PP44](https://forum.yunohost.org/user_avatar/forum.yunohost.org/pp44/32/1779_2.png) [@PP44](https://forum.yunohost.org/u/PP44)\
**Post date:** [May 20, 2026, 6:13pm UTC](https://forum.yunohost.org/t/restore-backup-on-virtualbox/42306/2 "2026-05-20T18:13:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [June 19, 2026, 6:14pm UTC](https://forum.yunohost.org/t/restore-backup-on-virtualbox/42306/3 "2026-06-19T18:14:14Z")

</div>

Closed on June 19, 2026, 6:14pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
