Difference between revisions of "Course backup"

Jump to: navigation, search
(creating a course backup, screenshots moved from Backup restore)
Line 3: Line 3:
 
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.
 
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.
  
==Backups Moodle 1.6 onward==
 
{{Moodle 1.6}}
 
Moodle 1.6 supports granularized backup, in addition to the previous versions features.  For example, individual activities may be selected for backup, with an option to include student data for each activity. See [[Backup_restore|"backup restore" for 1.6]], for a more detailed description of these features.
 
  
==Older versions==
+
==Creating a course backup==
 
+
[[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]]
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, it is good practice to perform a course backup at regular intervals, and to store this backup locally on your computer.  
+
To create a course backup:
 
+
#Click Backup in the Administration block.
After clicking the Backup link you will see options for specific activities you wish to backup. If you want to back up all the course activities you should choose 'All' above the activities listed. Similarly, if you want to include User Data with each backed-up activity, choose 'All' on the right-hand side of the field.  
+
#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 backup options (see below), then click the Continue button to start the backup process.
Below the list of activities you will find five other fields to define:
+
#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.
 +
#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 in the files area for your course. Click the filename of the backup file to download it to your desktop.
  
 +
==Backup options==
 
* 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.  
* Logs  
+
* Logs - This backs up all course activity logs.
* User files - If you enable this option, it will export, for now, user photos (as they are all the files related to one user currently).  
+
* User files - This backs up all student submissions for assignments and other file uploads.
* Course files  
+
* Course files - This backs up any file stored in the [[Files|files]] area for the course.
 
 
After choosing what you want to backup, click on Continue. You will receive a notice with the backup details showing the total number of items within each category/module to be backed up. Scrolling to the bottom and clicking Continue, you will back up your course materials. You should see, again, the backup details followed by a message "Backup completed successfully." Clicking on Continue, you will receive a list of all the backup files in your course.
 
  
 
==Creative uses==
 
==Creative uses==
Line 30: Line 29:
  
 
==See also==
 
==See also==
*[[Backup restore]]
+
 
 
*[[Restore]]
 
*[[Restore]]
 +
*[[Backup settings]] - for administrators
 
*[[Backup FAQ]]
 
*[[Backup FAQ]]
 
*[[Roll courses forward]]
 
*[[Roll courses forward]]

Revision as of 15:07, 31 July 2008

Template:Course admin

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.


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 Administration block.
  2. 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.
  3. Select backup options (see below), then click the Continue button to start the backup process.
  4. 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.
  5. Click the Continue button.
  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. Click the Continue button.
  7. 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.

Backup options

  • 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.
  • 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
  • Updating a production Moodle site course, with material from a localhost site course
  • In earlier versions of Moodle, a way of rolling a course forward without past student activity

See also