Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Course restore.

Course restore: Difference between revisions

From MoodleDocs
No edit summary
m (note re restoring course sections)
 
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Course admin}}
{{Backup}}
Courses can be restored from a backup made by Moodle.  Course backups are usually stored in the '''backupdata''' folder within the [[Files|course files]] folder. There is a link next to every course backup that says restore.  Each version of Moodle has its own slightly different process for restoring.  Generally speaking a backup may be restored several ways.  It can
==Restoring a course backup==
*Copy over the data in any course, or
*Add the backup to any course, or 
*Create a new course that is a duplicate,
*Offers option to include student data and/or course files. 


The backup and restore process is a common way of moving or, copying specific courses from one Moodle to another.  
A course backup file (.mbz) may be restored from within any existing course for which you have permission. During the restore process, you will be given the option to restore as a new course or into an existing course.


{{Moodle 1.6}}Version 1.6 and later offers more options in the backup and restore process. [[Backup restore]] has a more detailed description of the 1.6 process.  It is possible to backup and/or restore specific course resources and activities. For example, a teacher can backup the entire course, then restore only Lesson 1 with student data, Lesson 4 without student data and a forum with student data, to a new or existing course.
Note that if your new course has fewer sections than the course you are restoring, the extra sections will appear as "orphaned activities". Increase the number of sections in the new course to make them visible.


This selective restore process is similar to the [[Import course data|Import feature]] in the course administration block.
# Go to ''Administration > Front page settings > Restore'' (if you have front page permissions) or ''Administration > Course administration > Restore'' (if you have an empty course to restore into.)
# 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
# Destination - Choose whether the course should be restored as a new course or into an existing course then click the Continue button
# Settings - Select activities, blocks, filters and possibly other items as required then click the Next button
# Schema - Select/deselect specific items and amend the course name, short name and start date if necessary then click the Next button
# Review - Check that everything is as required, using the Previous button if necessary, then click the 'Perform restore' button
# Complete - Click the continue button
[[Image:Course backup file areas 1.png]]
 
==Course restore capabilities==
 
* [[Capabilities/moodle/restore:createuser|Create users on restore]]
* [[Capabilities/moodle/restore:configure|Configure restore options]]
* [[Capabilities/moodle/restore:restoreactivity|Restore activities]]
* [[Capabilities/moodle/restore:restorecourse|Restore courses]]
* [[Capabilities/moodle/restore:restoresection|Restore sections]]
* [[Capabilities/moodle/restore:restoretargethub|Restore from files targeted as hub]]
* [[Capabilities/moodle/restore:restoretargetimport|Restore from files targeted as import]]
* [[Capabilities/moodle/restore:rolldates|Roll activity configuration dates on restore]]
* [[Capabilities/moodle/restore:uploadfile|Upload files to backup areas]]
* [[Capabilities/moodle/restore:userinfo|Restore user data]]
* [[Capabilities/moodle/restore:viewautomatedfilearea|Restore courses from automated backups]]


==See also==
==See also==


*[[Backup restore]]
* [[Restoring file aliases]]
*[[Roll courses forward]] (in Moodle 1.7) how to repeat a course again
*[[Import course data]] or parts of your other courses.  1.6 feature in Moodle
[[Category:Teacher]]


[[fr:Restauration]]
[[ja:リストア]]
[[ja:リストア]]
[[es:Restaurar_un_curso]]
[[de:Kurswiederherstellung]]

Latest revision as of 10:48, 11 March 2014

Restoring a course backup

A course backup file (.mbz) may be restored from within any existing course for which you have permission. During the restore process, you will be given the option to restore as a new course or into an existing course.

Note that if your new course has fewer sections than the course you are restoring, the extra sections will appear as "orphaned activities". Increase the number of sections in the new course to make them visible.

  1. Go to Administration > Front page settings > Restore (if you have front page permissions) or Administration > Course administration > Restore (if you have an empty course to restore into.)
  2. Upload the backup file or choose a file in the course backup area or user private backup area and click Restore
  3. Confirm - Check that everything is as required then click the Continue button
  4. Destination - Choose whether the course should be restored as a new course or into an existing course then click the Continue button
  5. Settings - Select activities, blocks, filters and possibly other items as required then click the Next button
  6. Schema - Select/deselect specific items and amend the course name, short name and start date if necessary then click the Next button
  7. Review - Check that everything is as required, using the Previous button if necessary, then click the 'Perform restore' button
  8. Complete - Click the continue button

Course backup file areas 1.png

Course restore capabilities

See also