This is a test site. Any changes will be lost!

Course backup: Difference between revisions

From MoodleDocs
rafal (talk | contribs)
mNo edit summary
No edit summary
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Note for Contributors'''
{{Course admin}}
This page should explain what can be seen on the <u>moodlesite.com/backup/backup.php</u> page
when backing up a course


Generally, you will not have to worry about '''course backups''', as the primary Moodle administrator will have set a schedule of [[Site backup|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 backup as the primary Moodle administrator has set a schedule of site wide backups. However, it is a best management practice to perform a course backup at regular intervals, and to store this backup locally on your computer.


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.  
==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]]
To create a course backup:
#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 backup options (see below), then click the Continue button to start the backup process.
#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.


Below the list of activities you will find five other fields to define:
==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.
* 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|files]] area for the course.


* Metacourse
==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


If you are backing up the content of the course, which is a metacourse (a "parent course" to other "child courses" - that means that students belonging to any "child courses" are automatically enrolled in that course), 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.
==See also==


* Users
*[[Restore]]
*[[Backup settings]] - for administrators
*[[Backup and restore FAQ]]
*[[Roll courses forward]]
*[[Front Page]] trick to backup Front page in earlier version of Moodle
*[http://www.youtube.com/watch?v=ZrdM_KOr530 Creating course backups video]
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=59581 Location of Backup Files] forum discussion


Whether you want to backup the content concerning all the registered students in your site, only course students or no students at all.
[[Category:Backup]]


* Logs
[[fr:Sauvegarde de cours]]
 
[[es:backup/backup]]
Whether you want to backup the information about the students' logs
[[ca:backup/backup]]
 
[[ja:コースバックアップ]]
* User files
[[de:Kurssicherung]]
 
If you enable this option, it will export, for now, user photos (as they are all the files related to one user currently).
 
* Course files
 
Enabling this option will export all course files.
 
 
 
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.

Latest revision as of 13:52, 10 March 2010


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 course 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