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
m (spacing)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{stub}}{{Moodle 2.0}}
<p class="note">'''Note:''' Backup and restore has been completely rewritten for Moodle 2.0. For details of the course backup in Moodle prior to 2.0, see [[Course backup]].</p>


==Basic Features==


===Completely rewritten Backup/Restore framework===
{{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.
*No longer bound by memory (can work with any size course)
# Initial settings - Make global changes for this backup (user, activity, blocks etc)
*Pre-detect wrong situations
# Schema settings  - Select/deselect specific items to include in backup
*Rollback (if possible) to previous states
# Confirmation and review - Set file name. Page shows backup settings and items included. "Has Perform backup button option
*Apply any possible benefit both for speed (some interim in-memory caches) and memory (better parsing techniques).  
# Perform backup - activated at end of previous step
# Complete - Indicates if there were errors.  Continue button at bottom.


Initial Notes from [Development:Backup_2.0]


===Completely new backup format===
Backup in Moodle 2.0 video:


===Improved interface===
<mediaplayer>http://www.youtube.com/watch?v=mya-u0zAZZE</mediaplayer>


===Backup can be made of whole courses, but also specific sections or activities===
==New features==


[[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
* 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 [[Anonymize user|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==
==See also==


* [[Development:Backup 2.0]]
* [[Development:Backup 2.0]]
----


[[Category:Backup]]
[[Category:Backup]]
[[de:Kurssicherung 2.0]]

Latest revision as of 09:14, 8 December 2010

Note: Backup and restore has been completely rewritten for Moodle 2.0. For details of the course backup in Moodle prior to 2.0, see Course backup.


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.


Backup in Moodle 2.0 video:

<mediaplayer>http://www.youtube.com/watch?v=mya-u0zAZZE</mediaplayer>

New features

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