I have a very large Moodle .mbz
backup file of a single course - Slightly over 1GB. I need to upload this backup to the server, but of course the file manager Moodle provides won't allow me to do this as the file is too big.
So I was wondering if it would be possible to upload the backup via FTP to some folder in moodledata
to then use the backup manager to restore the course, if so, where should I upload it/where are the backups stored?
Uploading files In many places in Moodle, users will see a notice saying they can drag and drop files to upload them. They can also add files from what Moodle calls Repositories which allow them to upload from their computer, import from Google Drive (for example), Wikipedia and other external sites.
Note: To upload multiple files at once, hold down the CTRL key on your keyboard (Windows), or the COMMAND key (MAC) as you select each of the files you wish to upload. Then drag the files into the Files area in Moodle.
File types you can add to Moodle include PDF, Word and other text documents, PowerPoint presentations, spreadsheets, zip files, and media such as image, video, and audio files.
Most types of files can be uploaded and accessed through Moodle but the student needs to have the correct software to be able to open them.
Ok, figured it out. The way to do it by using repositories. You need to create a folder in moodledata with the name "repository", then create a folder inside that with whatever name you want. Upload your backup into this folder.
Then, enable the File System Repositories plugin in Settings > Site administration > Plugins > Repositories > Manage Repositories. Change the drop down for "File Repository" to "Enabled and visible, then click the settings button next to the dropdown.
Then, use the UI to create a new repository instance, selecting the folder you created earlier. Then save, and that repository should show up in the file picker menu.
Just had a go at this, looks like a few things have changed since this was written, but is mostly correct.
Starting from the Dashboard, go through the 'Site Administration > Plugins > Repositories > Manage Repositories' path as in James' answer, but 'File Repository' is now 'File System'.
Once the dropdown is set to Enabled and Visible, you can go into settings and click 'Create a repository instance'. From here you should be able to work out what to do provided the folder is in the right location.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With