Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Course backup.

Course backup: Difference between revisions

From MoodleDocs
(rewrite instructions and reformat)
Line 1: Line 1:
{{Course admin}}
{{Course admin}}
 
A course can be saved with some or all of its parts by using the course backup.  Typically, the site administrator will set a schedule of site wide backup for all courses. A teacher with editing privileges can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.
Generally, you will not have to worry about '''course backups''', as the primary Moodle administrator will have set a schedule of site wide backups. However, as a teacher with editing privileges, it is good practice to download a recent backup to your own computer for additional protection.




Line 7: Line 6:
[[Image:Course_backup.jpg|thumb|Creating a course backup - page 1]][[Image:Course_backup_s2.jpg|thumb|Creating a course backup - page 2]][[Image:Course_backup_s3.jpg|thumb|Creating a course backup - page 3]]
[[Image:Course_backup.jpg|thumb|Creating a course backup - page 1]][[Image:Course_backup_s2.jpg|thumb|Creating a course backup - page 2]][[Image:Course_backup_s3.jpg|thumb|Creating a course backup - page 3]]
To create a course backup:
To create a course backup:
#Click Backup in the course administration block.
#Click Backup in the Course administration block.
#Choose which activities you want to include in the backup, and whether to include user data, by using the Include All/None links at the top of the page and/or by selecting the checkboxes next to each module or activity name. User data consists of all student files, submissions, forum postings, glossary entries, etc.
#Select your backup options
#Select backup options (see below), then click the Continue button to start the backup process.
##Choose the activities and resources you want to include, the default is everything. 
#On the next page, you can preview the files and users that Moodle will include in the backup and, if you wish, change the suggested backup filename, which is backup-COURSESHORTNAME-DATE-TIME.zip.
###The Include All/None links at the top will check or uncheck all the boxes in a column.
###Use the individual boxes to select or unselect specific parts of the course for the backup.  
##Select course options desired at the bottom (see Backup options below)
#Click the Continue button to start the backup process.
#On the next page
##You can edit the default backup filename at the top of this page (uses format:backckup-COURSESHORTNAME-DATE-TIME.zip).
##You will see the backup details, a list of files and user data that Moodle will include in the backup  
#Click the Continue button at the bottom. Or if this does not look right, use cancel to exit the backup process or use your back browser arrow to return to the initial course backup page.
#On the next page, the progress of the backup is displayed together with a report if it was successful. ##You should see the message "Backup completed successfully" at the bottom of the page.  
#Click the Continue button.
#Click the Continue button.
#On the next page, the progress of the backup is displayed together with a report if it was successful. You should see the message "Backup completed successfully" at the bottom of the page. Click the Continue button.
#You will then be taken to the backupdata directory.  
#You will then be taken to the backupdata directory in the files area for your course. Click the filename of the backup file to download it to your desktop.
##You may click on a filename to download any backup file to your computer.
## Later this area can be reached by the [[Course administration]] block by using the Restore link or looking for what is usually called the backupdata folder under the Files link.  
 


==Backup options==
==Backup options==
* User data -consists of all student files, submissions, forum postings, glossary entries, etc.
* Metacourse - If you are backing up the content of a [[Metacourses|metacourse]], you may enable this option so that that relations between the courses will be exported and the restore process will try to rebuild them in the destination server.
* Metacourse - If you are backing up the content of a [[Metacourses|metacourse]], you may enable this option so that that relations between the courses will be exported and the restore process will try to rebuild them in the destination server.
* Users - Whether you want to backup the content concerning all the registered students in your site, only course students or no students at all.  
* Users - Whether you want to backup the content concerning all the registered students in your site, only course students or no students at all. By
* Logs - This backs up all course activity logs.
* Logs - This backs up all course activity logs.
* User files - This backs up all student submissions for assignments and other file uploads.
* User files - This backs up all student submissions for assignments and other file uploads.  
* Course files - This backs up any file stored in the [[Files|files]] area for the course.
* Course files - This backs up any file stored in the [[Files|files]] area for the course.


==Creative uses==
==Creative uses==
The backup and restore processes can offer the teacher and administrators many creative solutions.
The backup and restore processes can offer the teacher and administrators many creative solutions.
*Duplicating courses or specific activities in one course to another course
*Duplicating courses or specific activities in one course to another course (similar to Import)
*Updating a production Moodle site course, with material from a localhost site course
*Updating a production Moodle site course, with material from a localhost site course
*Transferring a course to a new Moodle site.
*In earlier versions of Moodle, a way of rolling a course forward without past student activity
*In earlier versions of Moodle, a way of rolling a course forward without past student activity
*Creating a blank activity, save just that activity and then restore it to the course or another course one or more times.
:''Note:'' The Moodlesite may automatically make and delete backups. For example, it may backup each individual course daily, but not keep any of these backups longer than 5 days. Manual backups by the teacher are usually not effected by this process. 


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

Revision as of 13:07, 4 June 2009

Template:Course admin A course can be saved with some or all of its parts by using the course backup. Typically, the site administrator will set a schedule of site wide backup for all courses. A teacher with editing privileges can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.


Creating a course backup

Creating a course backup - page 1
Creating a course backup - page 2
Creating a course backup - page 3

To create a course backup:

  1. Click Backup in the Course administration block.
  2. Select your backup options
    1. Choose the activities and resources you want to include, the default is everything.
      1. The Include All/None links at the top will check or uncheck all the boxes in a column.
      2. Use the individual boxes to select or unselect specific parts of the course for the backup.
    2. Select course options desired at the bottom (see Backup options below)
  3. Click the Continue button to start the backup process.
  4. On the next page
    1. You can edit the default backup filename at the top of this page (uses format:backckup-COURSESHORTNAME-DATE-TIME.zip).
    2. You will see the backup details, a list of files and user data that Moodle will include in the backup
  5. Click the Continue button at the bottom. Or if this does not look right, use cancel to exit the backup process or use your back browser arrow to return to the initial course backup page.
  6. On the next page, the progress of the backup is displayed together with a report if it was successful. ##You should see the message "Backup completed successfully" at the bottom of the page.
  7. Click the Continue button.
  8. You will then be taken to the backupdata directory.
    1. You may click on a filename to download any backup file to your computer.
    2. Later this area can be reached by the Course administration block by using the Restore link or looking for what is usually called the backupdata folder under the Files link.


Backup options

  • User data -consists of all student files, submissions, forum postings, glossary entries, etc.
  • Metacourse - If you are backing up the content of a metacourse, you may enable this option so that that relations between the courses will be exported and the restore process will try to rebuild them in the destination server.
  • Users - Whether you want to backup the content concerning all the registered students in your site, only course students or no students at all. By
  • Logs - This backs up all course activity logs.
  • User files - This backs up all student submissions for assignments and other file uploads.
  • Course files - This backs up any file stored in the files area for the course.

Creative uses

The backup and restore processes can offer the teacher and administrators many creative solutions.

  • Duplicating courses or specific activities in one course to another course (similar to Import)
  • Updating a production Moodle site course, with material from a localhost site course
  • Transferring a course to a new Moodle site.
  • In earlier versions of Moodle, a way of rolling a course forward without past student activity
  • Creating a blank activity, save just that activity and then restore it to the course or another course one or more times.
Note: The Moodlesite may automatically make and delete backups. For example, it may backup each individual course daily, but not keep any of these backups longer than 5 days. Manual backups by the teacher are usually not effected by this process.

See also