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?

por yuki yuki -
Número de respuestas: 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?
Promedio de valuaciones (ratings): -
En respuesta a yuki yuki

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

por Howard Miller -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de 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.
En respuesta a Howard Miller

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

por Adam Lossing -

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

En respuesta a Adam Lossing

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

por Mary Cooch (personal account) -
Imagen de Documentation writers Imagen de 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

 

En respuesta a yuki yuki

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

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