how to backup a moodle course

by Kenyon Jacobs 10 min read

  • Click the gear menu and then select “backup.”
  • Use the checkboxes to decide what you would like to bring over with your copy of the course. ...
  • Experienced Moodlers can click the “jump to the final step” button, or if you prefer click “next”.
  • For those who click “next,” you will be taken to the confirmation and review page. Here, you can change the filename and check that the settings are correct. ...
  • Once you have confirmed your backup setting are correct, click the “perform backup” button.
  • You will then be taken to a page which confirms that your backup was successful. ...
  • In the user private backup area, click the “download” button and save it. You can then open your course on a different Moodle site using course restore.

Backup Your Moodle Course
  1. Log in to Moodle and click on the course you want to back up.
  2. Under Administration, click Backup.
  3. On the Course backup screen, leave all checkboxes checked to backup both your course materials and student work. ...
  4. On the confirmation screen, click Continue.

Full Answer

How do I save a course in Moodle?

Mar 12, 2020 · Backing up a course. To backup a course Go into the course. Click the Backup link either in the gear menu or the Administration block (depending upon the theme). Initial settings - Select activities, blocks, filters and other items as required then click the Next button.

What is a course backup in Moodle?

Mar 23, 2021 · To generate the backup, log into Moodle, go to the course. and click on the Gear Icon (top right of page) → Backup. The backup process will guide you through what information and which activities you want to backup. You can select whether to back up student information or not in the second step labeled 2. Scheme settings. There will be two columns of checkboxes …

What does-backup-moodle2-mean?

Nov 10, 2017 · So how can you make a backup of your Moodle course? Click the gear menu and then select “backup.” Use the checkboxes to decide what you would like to bring over with your copy of the course. For example, if you want to... Experienced Moodlers can click the “jump to the final step” button, or if you ...

How do I backup a course?

Aug 31, 2017 · Here’s how to create and download a backup of a Moodle course: Creating the Backup File. Go to the course you want to backup; On the Course Administration menu (sidebar on versions 3.1 or older; gear icon in the upper right for versions 3.2+), click Backup. Check the boxes next to the content you’d like to save.

How do I backup and restore a course in Moodle?

Restoring a course backupGo to Settings > Front page settings > Restore or Settings > Course administration > Restore.Upload the backup file or choose a file in the course backup area or user private backup area and click Restore.Confirm - Check that everything is as required then click the Continue button.More items...•Jul 5, 2012

How do I download a backup course in Moodle?

Downloading a backup fileGo to your course site in Moodle.Find the Administration block: Click Restore.Go to the User private backup area.Find your backup file. (The most recently created file will be at the top of the list.) ... Click Download to copy the backup to your hard drive.

How do I export a course from Moodle?

Exporting Content From Moodle From within a course, from the course Administration menu, choose Backup. Select whether to export as a Common Cartridge or a native Moodle file. Follow the succession of screens, to complete the process.

Where are Moodle course backups stored?

The . mbz backup file for courseid=25 will be stored in the backup subfolder in the Moodledata ($CFG->dataroot) folder.Aug 19, 2021

How do I backup my Moodle database?

First sign into your Moodle administration panel:Once you are logged in you should click on the Site home option on the left:Then, in Administration under the Front page setting drop-down menu, you have to choose the Backup option:There, you will see the 5-stage backup process.More items...

How do I access my Moodle backups?

Re: And WHERE do the moodle backup files go?Select a course from courses.Click Backup.Set what is to be backed up.Make the backup.Click Continue.IMMEDIATELY download the backup.When the download advice appears at the bottom of the Moodle window, right click it and select show in Finder.More items...•Oct 13, 2019

How do I transfer data from Moodle?

Recommended methodTurn on maintenance mode. ... Backup the Moodle database on the old server. ... Restore the database backup to the new server. ... Copy moodledata from the old server to the new server. ... Copy the Moodle code from the old server to the new server. ... Update config. ... Test the copied site.More items...•Jan 12, 2020

How do I export a Moodle site?

You can export your MoodleCloud site at any time in your MoodleCloud Portal....Export my MoodleCloud site PrintLog in to your MoodleCloud Portal.Click on the Tools tab.Click on Export this site.Nov 2, 2021

How do I download data from Moodle?

Under the Course administration tab, in the top list of links, select Download instructor files. Moodle will compress the files into a single ZIP file and begin the download process, which will differ depending on your browser settings. The . zip file will download with no progress bar or completion alert.

How do I restore my Moodle?

On the Course Management panel, under Course Settings, select Recycle bin. The Recycle bin page will open. Locate the activity or resource you want to restore, under the Restore column select Restore (up arrow icon ).

How do I delete a backup on Moodle?

How can I remove course backup files?Login Moodle system as teacher.Go to a Moodle course.Click “Restore” under Settings block.Click "Manage backup files".Click on the file you want to delete.Click "Delete" in the pop up window to delete the file.Click "Save Changes".

How do I open a .MBZ file?

ZIP files, you can extract the contents in the archives by renaming the . mbz file extension to . zip. Then, extract the contents using a Zip-decompression utility, such as Corel WinZip or Apple Archive Utility.Mar 4, 2019

Export or backup a course from Moodle

Moodle has a backup feature that stores all (or selected parts) of a course to a compressed file that can be saved for future use or copied to a different Moodle site. This can be useful if an instructor is moving to a different institution or would like to have a backup of the course for safekeeping.

Transferring a Moodle course from Swarthmore to another institution

It may be possible to export a course from Swarthmore's Moodle site and import it to another institution's Moodle site. Download the .mbz Moodle backup file as specified above and use the Moodle Restore feature to import it to the other Moodle site. Depending on the versions of Moodle used, it may not be possible to transfer all the information.

Step 1: Create and Download a Moodle Backup File

To archive course resources, activities, and course settings for safekeeping, we recommend instructors create and download a Moodle backup file (.mbz) at the close of each semester. The .mbz can be used to restore the course on Moodle in the Cloud ( umass.moonami.com ), or at a different campus in the future.

Step 2: Download Course Content

Because Moodle (.mbz) backup files cannot be opened outside of Moodle, and do not include student submissions or grades, at the end of every semester, you should also download course content and capture student work and grades in file formats you can open on your own computer.

Step 3: Backup Student Work and Grades

See Export Gradebook Data from Moodle, to download a comma-delimited file (.csv) which you can store in a secure location such as Microsoft OneDrive .

Where are the files and folders in Moodle?

Through the Moodle interface, users can upload or create files and folders. These are located in a directory , often called "moodledata". Since they are just files and folders, there are many different ways to backup or copy moodledata.

Why do we need to do regular backups?

Performing regular backups are highly recommended to reduce the amount of lost information in the event of a problem on the site and to speed the overall recovery process.

What is the most important thing to copy on a regular basis?

Generally speaking, the database ("dbname and prefix") and the uploaded files (dataroot) are the two most important to copy on a regular basis. These contain information that will change most often.

What is MySQL dumper?

MySQLDumper is a backup script for MySQL databases, written in PHP and Perl. MySQLDumper uses a proprietary technique to avoid execution interruption when running PHP scripts (the max. execution time is usually set to 30 seconds). MySQLDumper also cares for the encoding problems mentioned above.

What is automysqlbackup?

AutoMySQLBackup is a backup script for MySQL databases, written in PHP. AutoMySQLBackup will create Daily, Weekly and Monthly backups of one or more of your MySQL databases from one or more of your MySQL servers. Features include email notification, compression and encryption, configurable backup rotation, incremental database backups, and more.

Can you download a copy of Moodle code?

While you can always download a fresh base copy of the Moodle code from http://download.moodle.org, you might have customized that code. It is a good idea to create a separate backup of your Moodle code before you customize the code.

What are the pros and cons of course versus site backups?

Site backups are recommended in order to have all data saved with the best confidence and the shortest recovery time.

Why is my automated course backup much smaller in size than my manual course backup?

This is an intentional design decision. Because of the way files are stored in Moodle 2.x, there is no need to include the files in the backup if you are planning to restore them to the same Moodle site. Leaving them out saves huge amounts of disk space and makes the backup procedure much faster.

What data is not contained in course backups?

By selecting all the options when setting up the backup you can include almost all the data in the course. However you should be aware of the fact that some things are not backed up:

How do I fix backups that lack the student log and participation data?

In Site administration > Courses > Backups > General backup defaults, there is a setting for "Include logs." By default, this is off.

How do I fix backups that lack the student grade history?

In Site administration > Courses > Backups > General backup defaults, there is a setting for "Include histories." By default, this is off.

How can I backup or restore a very large course?

See Backup via CLI in Course backup and Restore via CLI in Course restore (new in 3.10 onwards).

The process ends with: "Error: An error occurred deleting old backup data". What should I do?

This part of the backup (or restore) procedure tries to delete old info, used in previous executions, performing the following tasks:

image