Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Backup 2.0.

Backup 2.0: Difference between revisions

From MoodleDocs
(→‎New features: no user data selected)
Line 9: Line 9:
==New features==
==New features==
Backup and restore has been completely rewritten for Moodle 2.0.
Backup and restore has been completely rewritten for Moodle 2.0.
[[Image:Backup of a course section.png|thumb|Backup of a course section, no user data selected]]
[[Image:Backup of a course section.png|thumb|Step 2 - Schema selection, no user data selected in initial settings]]
* The backup process has been made a lot more efficient, making it possible to backup very large courses
* The backup process has been made a lot more efficient, making it possible to backup very large courses
* Teachers can choose whether to include activities, blocks or filters in the backup
* Teachers can choose whether to include activities, blocks or filters in the backup

Revision as of 12:51, 30 November 2010

Moodle 2.0


The backup and restore process in Moodle 2.0 is similar to earlier versions, however it is more robust. There is a breadcrumb menu that indicates progress in each of the 5 steps. There are continue, previous and cancel buttons at the bottom of most screens.

  1. Initial settings - Make global changes for this backup (user, activity, blocks etc)
  2. Schema settings - Select/deselect specific items to include in backup
  3. Confirmation and review - Set file name. Page shows backup settings and items included. "Has Perform backup button option
  4. Perform backup - activated at end of previous step
  5. Complete - Indicates if there were errors. Continue button at bottom.

New features

Backup and restore has been completely rewritten for Moodle 2.0.

Step 2 - Schema selection, no user data selected in initial settings
  • The backup process has been made a lot more efficient, making it possible to backup very large courses
  • Teachers can choose whether to include activities, blocks or filters in the backup
  • Users with appropriate permissions, such as administrators, can choose whether to include users, user role assignments, user files, comments, user completion details, course logs and grade history in the backup
  • Users with appropriate permissions, such as administrators, can create a backup with anonymized user information
  • Teachers can easily select the whole course or specific sections or activities to backup
  • Backup files have a distinctive .mbz extension to avoid confusion with .zip files

Backup and restore from 1.9 to 2.0

It is not currently possible to backup a course on a 1.9 site and restore it to a 2.0 site, however the functionality will be available in a forthcoming 2.0.x release. In the meantime, a workaround is to upgrade the 1.9 site to 2.0.

Tips and tricks

  • Lose content after a restore in Moodle 2.0 ? Do you see topic headings that say "Orphaned activities"? Solution: Go to course settings and increase the number of topic sections and things will return to normal.

See also