mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
A small Python framework meant to easily create programs with unified CLI and API.
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