Course backup: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) (→Backup options: user files correction) |
Helen Foster (talk | contribs) m (link edits) |
||
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 | 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 [[Automated course backup|automated course backups]] for the whole site. A teacher with editing privileges can create a backup or download an existing backup for safe keeping, or for use on another Moodle site. | ||
Line 40: | Line 40: | ||
*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. | *Creating a blank activity, save just that activity and then restore it to the course or another course one or more times. | ||
==See also== | ==See also== | ||
*[[ | *[[Course restore]] | ||
*[[ | *[[Automated course backup]] - for administrators | ||
*[[Backup and restore FAQ]] | *[[Backup and restore FAQ]] | ||
*[[Roll courses forward]] | *[[Roll courses forward]] |
Revision as of 15:08, 23 November 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 automated course backups for the whole site. 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
To create a course backup:
- Click Backup in the Course administration block.
- Select your backup options (Page 1)
- Choose the activities and resources you want to include, the default is everything.
- 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)
- Choose the activities and resources you want to include, the default is everything.
- Click the Continue button to start the backup process.
- On the next page (Page 2)
- 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 (Page 3), the progress of the backup is displayed.
- 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 (see page 4).
- 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
- User data - consists of all student files, submissions, forum postings, glossary entries, etc. (option only available for users with the capability moodle/backup:userinfo)
- Metacourse - If you are backing up the content of a metacourse, you may enable this option so 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 course students or no students at all (option only available for users with the capability moodle/backup:userinfo). By selecting "none", the backup process will not backup user data. Users with the capability moodle/site:backup in the system context as well as moodle/backup:userinfo have the additional option to backup all users on the site.
- Logs - This backs up all course activity logs (option only available for users with the capability moodle/backup:userinfo)
- User files - This backs up all user pictures moodle/backup:userinfo)
- Course files - This backs up any file stored in the files area for the course
- Backup role assignments for these roles - This setting provides a way of copying a custom role from one Moodle site to another. See 'How do I copy a custom role from one Moodle site to another' in Roles FAQ for details.
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.
See also
- Course restore
- Automated course backup - for administrators
- Backup and restore FAQ
- Roll courses forward
- Front Page trick to backup Front page in earlier version of Moodle
- Creating course backups video
- Google Knol article
- Using Moodle Location of Backup Files forum discussion