Legacy course files
Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Legacy course files.
Note: This page only applies to sites which have been upgraded from Moodle 1.9.
In Moodle 2.0 onwards, files are stored in separate areas, rather than together in the course files area. See Course files for a detailed explanation. When a site is upgraded from 1.9, the course files area is renamed 'Legacy course files'. By default, this area is not available in new courses.
It is recommended that teachers make use of the new repositories in Moodle 2.0 for storing course files, rather than saving them in the legacy course files area.
- 1 Enabling legacy course files areas
- 2 Repository capabilities
- 3 FAQs
- 3.1 Can you find out disk volume of legacy files?
- 3.2 Where are legacy files stored?
- 3.3 Is there a way to delete legacy files en mass?
- 3.4 What happens if you switch legacy files off in a site that has been upgraded and has a lot of legacy files?
- 3.5 Can you migrate a course from 1.9 to 2+ and NOT end up with a legacy files repository?
- 3.6 In backups, are legacy files included with a course?
- 3.7 Long term, will there be any problem keeping a large number of Legacy files?
- 4 Also see
Enabling legacy course files areas
To enable a legacy course files area in a new course
- Enable the legacy course files repository plugin in Settings > Site administration > Plugins > Repositories > Manage repositories.
- Check the legacyfilesinnewcourses box in the Manage repositories common settings then click the 'Save changes' button.
- Set 'Legacy course files' to Yes in the course settings.
A legacy course files link will then appear in the Settings > Course administration area.
Can you find out disk volume of legacy files?
Unsure. There is a disk space report, but it gives the total of files in each course, and a total volume of disk space. (Site admin > . .) However, this does not say anything about what else is there (like trash, provate files and backups) See http://moodle.org/mod/forum/discuss.php?d=201601
Where are legacy files stored?
For one explanation, see http://moodle.org/mod/forum/discuss.php?d=164544
Is there a way to delete legacy files en mass?
What happens if you switch legacy files off in a site that has been upgraded and has a lot of legacy files?
Can you migrate a course from 1.9 to 2+ and NOT end up with a legacy files repository?
In backups, are legacy files included with a course?
Seems to be the case: http://moodle.org/mod/forum/discuss.php?d=194981
Long term, will there be any problem keeping a large number of Legacy files?
Possibly if you want to import (as opposed to restore) you may lose legacy files. See