mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
if /home/yunohost.backup/archives is on a different device (for instance, a NAS), backups fail with the message: ... File "/usr/lib/moulinette/yunohost/backup.py", line 303, in backup_create '{:s}/{:s}.info.json'.format(archives_path, name)) OSError: [Errno 18] Invalid cross-device link A simple solution is to use shutil.move because, as stated in the documentation, "If the destination is on the current filesystem, then os.rename() is used. Otherwise, src is copied (using shutil.copy2()) to dst and then removed.", which is the needed behavior. This PR has been successfully tested. |
||
---|---|---|
bin | ||
data | ||
debian | ||
lib/metronome/modules | ||
locales | ||
src/yunohost | ||
.gitignore | ||
LICENSE | ||
README.md |
Please report issues here (no registration needed): https://dev.yunohost.org/projects/yunohost/issues