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

Course backup: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(23 intermediate revisions by 8 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


''unfinished''
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.


==Creating a course backup==
Include all items, but select None from the Users: pull-down menu and No from the User Files: menu.
[[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.


==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.


Click on Continue. You will receive a notice that the backup will proceed without user data, along with the backup details showing the total number of items within each category/module to be backed up.  
==Creative uses==
Scroll to the bottom and click Continue. Your course materials will be backed up and you should eventually see a message stating "Backup completed successfully."
The backup and restore processes can offer the teacher and administrators many creative solutions.
Click on Continue.
*Duplicating courses or specific activities in one course to another course
In the file list you are presented with, right-click (or control-click on a Macintosh) on the name of the file (eg., backup-bio-121-20050131-1354.zip) and choose Save link as... or Save Target As...
*Updating a production Moodle site course, with material from a localhost site course
Save the file to your computer's desktop or anywhere you can find it easily. Remember where you saved the file.
*In earlier versions of Moodle, a way of rolling a course forward without past student activity
Click the small check-box in front of the backup file name you created. From the With chosen files... pull-down menu, choose Delete completely.


==See also==


When asked to confirm whether you want to delete the backup file, click Yes.
*[[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
 
[[Category:Backup]]
 
[[fr:Sauvegarde de cours]]
[[es:backup/backup]]
[[ca:backup/backup]]
[[ja:コースバックアップ]]
[[de:Kurssicherung]]

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