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?

av yuki yuki -
Antall svar: 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?
Gjennomsnittlig vurdering: -
Som svar til yuki yuki

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

av Howard Miller -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av 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.
Som svar til Howard Miller

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

av Adam Lossing -

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

Som svar til Adam Lossing

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

av Mary Cooch (personal account) -
Bilde av Documentation writers Bilde av Testers

Here is the documentation on the file system repository: http://docs.moodle.org/en/File_system_repository_configuration

Here's a blog post and video about it by Gavin Hendrick - http://moodle.drupalgardens.com/article/tue-06152010-1918/ftp-files-moodle-20-repository-api

 

Som svar til yuki yuki

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

av 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.