Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.6.3
-
Fix Version/s: None
-
Component/s: Backup
-
Labels:None
-
Affected Branches:MOODLE_16_STABLE
Description
When backing up courses, symbolically linked folders are included as native folders, so that each course backup includes the whole symbolically linked folder with the actual files, duplicating the same files for each course. This defeats a technique used by some for sharing files among courses. In this technique, the administrator creates a symbolic link to a subdirectory of Site files within the Files area of each course (see discussion http://moodle.org/mod/forum/discuss.php?d=65049). Can the default behavior of Backup be changed to preserve symbolic links?
Sorry John,
but I really think it's really difficult to implement, because, to guarantee integrity the backup must be auto-contained. I cannot see "preserving links" like a suitable alternative.
Anyway, re-creating such link shouldn't be really complex (one simple script could iterate over all courses, deleting real dirs and buiilding links as needed....
Uhm... marking this as won't fix. Sorry.