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.
Find a file
JimboJoe 7579eef600 Update backup.py
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.
2016-10-14 18:03:58 +02:00
bin [fix] exit if not run as root instead of raising an obscur exception 2016-05-19 08:05:59 +02:00
data [fix] Documentation typo 2016-07-30 12:19:21 +02:00
debian [fix] need to be stable 2016-08-14 19:03:58 +02:00
lib/metronome/modules [fix] Install updated metronome 3.7 modules instead of copying 2015-10-08 15:55:17 +02:00
locales [enh] add empty file for hindie to enable it in weblate 2016-07-28 21:40:43 +02:00
src/yunohost Update backup.py 2016-10-14 18:03:58 +02:00
.gitignore [fix] Update .gitignore 2015-11-15 00:22:54 +01:00
LICENSE Add AGPL license 2015-07-15 15:28:09 +02:00
README.md Create README.md 2015-10-25 14:13:46 +01:00

Please report issues here (no registration needed): https://dev.yunohost.org/projects/yunohost/issues