To reproduce the bug:
1. enter a course as admin, and make a backup
2. keep User: course as setting and User files: yes
3. launch backup.
4. backup stops showing "An error occurred while coping user files"
When selecting no user OR no user files, backup completes successfully.