Moodle

?ourse backup ?nder the schedule does not exclude course files

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Backup
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

backup_sche_coursefiles and backup_sche_sitefiles if turned off in backup setting, but course files all the same are present at created archives.

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Hi,

no matter of the course_files setting in backup setting, when your course has 'file', 'directory' or 'ims' resources.... using course_files, those needed files to transfer those resources are copied to course_files.

So I guess your courses will have some resources of this type and it's causing "some" files to be copied.

Note this won't be a problem anymore in Moodle 2.0, where each resource is going to autocontain always its own files. But for previous versions, where the course_files is a "shared" (for resources) container, it cannot be done in another way, or you will end with non-working resources after restore.

Closing this as not a bug... thanks for report, ciao

Show
Eloy Lafuente (stronk7) added a comment - Hi, no matter of the course_files setting in backup setting, when your course has 'file', 'directory' or 'ims' resources.... using course_files, those needed files to transfer those resources are copied to course_files. So I guess your courses will have some resources of this type and it's causing "some" files to be copied. Note this won't be a problem anymore in Moodle 2.0, where each resource is going to autocontain always its own files. But for previous versions, where the course_files is a "shared" (for resources) container, it cannot be done in another way, or you will end with non-working resources after restore. Closing this as not a bug... thanks for report, ciao
Hide
Lei Zhang added a comment -

This is a bug! We're having the same issue here, even backup_sche_coursefiles and backup_sche_sitefiles are turned off, we still get course files in the scheduled course backups.

Show
Lei Zhang added a comment - This is a bug! We're having the same issue here, even backup_sche_coursefiles and backup_sche_sitefiles are turned off, we still get course files in the scheduled course backups.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: