5

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?

James Paterson
  • 2,652
  • 3
  • 27
  • 40

2 Answers2

6

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.

James Paterson
  • 2,652
  • 3
  • 27
  • 40
  • 1
    Please update your answer to be more clear: "Change the drop down for "File Repository" to "Enabled and visible". – Andy May 02 '17 at 16:15
4

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.

Alex Ryan
  • 51
  • 4