/moodle-local_broom

One-click restore plugin for Moodle developers

Primary LanguagePHP

Get the file from 'Download' button as tarball or zip.

Put this in your Moodle local directory in a folder called 'broom'.

Ensure you have debugging set to 'Developer'.

The plugin then appears under 'Developer' setting in admin menu. Requires admin access.

Add a Moodle backup .mbz using the 'Edit list of backup files'.

Then click Restore button next to backup to restore it to new course.


Workflow
--------

1. Click Restore to restore backup.

2. If backup works, click 'View course in new window' and check it. Close new window.

3. Click 'Delete course in new window'. When it finishes, close new window.

(Edit your code to fix the bugs in restore.)

4. Click 'Restore again' to restore backup

5. Go to 2.