Can you please tell me where all the files stored in moodle 2?

Can you please tell me where all the files stored in moodle 2?

von yuki yuki -
Anzahl Antworten: 4
In moodle 2 I would like to restore a course backup file but the size of the file is near 500 MB so I would like to manually upload it to server folder by copying and then using file picker would like to link it but the problem is where to upload that file.

In moodle 9 we have file folder structure /moodledata

but seems in moodle 2 its changed.

Can you please tell me where all the files stored in moodle 2?
Als Antwort auf yuki yuki

Re: Can you please tell me where all the files stored in moodle 2?

von Howard Miller -
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
You can't do that in Moodle 2. As files have to be tagged by the filesystem, even if you found the correct place it would not show up.

What you could do is to enable the "File System" repository which lets you upload files into a designated folder under moodledata.
Als Antwort auf Howard Miller

Re: Can you please tell me where all the files stored in moodle 2?

von Adam Lossing -

Where do we find the page to "enable the file system repository" ?

Als Antwort auf yuki yuki

Re: Can you please tell me where all the files stored in moodle 2?

von Britt Bassett -

They are not under the html root, but at the "FTP" root in the folder called "moodledata" and in a subfolder there called "repository".

Files and folder there are directly reachable via the File Picker, but are not reachable via direct html links.

If you use the File Picker to select a file in the repository, then change that file, the changed file will not be picked up; so beware.