Actions

Difference between revisions of "Activity backup"

From Carleton Moodle Docs

m (1 revision imported: Initial import from docs.moodle.org)
 
(12 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
*To make a backup of an activity, ensure you are logged in with editing rights, as a teacher for example, and click on the activity you wish to backup. The settings block to the side will have a link ''Backup'' as with the assignment in the following screenshot:
 
*To make a backup of an activity, ensure you are logged in with editing rights, as a teacher for example, and click on the activity you wish to backup. The settings block to the side will have a link ''Backup'' as with the assignment in the following screenshot:
  
[[File:Activitybackup1.png]]
+
[[File:Activity_backup.png|200px]]
  
 
*In the next screen, check/tick the type of item you wish to backup - in this case, just ''activities''
 
*In the next screen, check/tick the type of item you wish to backup - in this case, just ''activities''
  
[[File:Includeactivities.png]]
+
[[File:Activity_backup1.png|400px]]
  
 
*Click ''Next'' and on the next screen, check the activity you wish to backup - in this case, our assignment:
 
*Click ''Next'' and on the next screen, check the activity you wish to backup - in this case, our assignment:
  
[[File:Backupassignment.png]]
+
[[File:Activity_backup2.png|500px]]
  
 
*Click ''Next'' and on the next screen, if you wish, rename the filename (keeping its .mbz extension), check you have included the correct activity and click ''Perform backup.''
 
*Click ''Next'' and on the next screen, if you wish, rename the filename (keeping its .mbz extension), check you have included the correct activity and click ''Perform backup.''
 
*You will get a message saying the backup file was successfully created. Click ''Continue'' and you will find your backup in the User Private backup area of the next screen:
 
*You will get a message saying the backup file was successfully created. Click ''Continue'' and you will find your backup in the User Private backup area of the next screen:
  
[[File:Userprivatebackuparea.png]]
+
[[File:Activity_backup3.png|600px]]
  
*You can download your file from here and then restore it to a course in another Moodle site. See [[Activity restore]] for infomation on how to do this.
+
*You can download your file from here and then restore it to a course in another Moodle site. See [[Activity restore]] for information on how to do this.
 
'''NOTE:''' For security reasons, those with the teacher role are not able to backup user information belonging to activities so there will be a red cross and padlock next to any user information.
 
'''NOTE:''' For security reasons, those with the teacher role are not able to backup user information belonging to activities so there will be a red cross and padlock next to any user information.
  
Line 29: Line 29:
 
The assignment activity module was completely rewritten in Moodle 2.3. Thus, assignments from Moodle 2.2 and older (e.g. from Moodle 1.9) need to be upgraded in order to continue being usable. See the section 'Restoring course backups from Moodle 2.2 and older' in [[Assignment upgrade tool]] for details of what to do.
 
The assignment activity module was completely rewritten in Moodle 2.3. Thus, assignments from Moodle 2.2 and older (e.g. from Moodle 1.9) need to be upgraded in order to continue being usable. See the section 'Restoring course backups from Moodle 2.2 and older' in [[Assignment upgrade tool]] for details of what to do.
  
==Activity backup capabilities==
+
[[Category:Moodle 2018-19]]
 
 
There is just one capability, [[Capabilities/moodle/backup:backupactivity|Backup activities]], which is allowed for the default roles of manager and teacher.
 
 
 
[[de:Aktivitäten sichern]]
 
[[es:Respaldo de actividad]]
 

Latest revision as of 10:17, 13 June 2018

Backing up individual activities

  • It is possible to make a copy or backup of individual activities in a Moodle course and then re-use these activities in a different Moodle site or in a different course on the same Moodle. (Note that if you wish to re-use activities within the same Moodle it might be simpler to use the import function. See Import course data for information on how to do this.
  • To make a backup of an activity, ensure you are logged in with editing rights, as a teacher for example, and click on the activity you wish to backup. The settings block to the side will have a link Backup as with the assignment in the following screenshot:

Activity backup.png

  • In the next screen, check/tick the type of item you wish to backup - in this case, just activities

Activity backup1.png

  • Click Next and on the next screen, check the activity you wish to backup - in this case, our assignment:

Activity backup2.png

  • Click Next and on the next screen, if you wish, rename the filename (keeping its .mbz extension), check you have included the correct activity and click Perform backup.
  • You will get a message saying the backup file was successfully created. Click Continue and you will find your backup in the User Private backup area of the next screen:

Activity backup3.png

  • You can download your file from here and then restore it to a course in another Moodle site. See Activity restore for information on how to do this.

NOTE: For security reasons, those with the teacher role are not able to backup user information belonging to activities so there will be a red cross and padlock next to any user information.

Backing up whole courses

  • It is also possible to make a copy or backup of a whole course and re-use it elsewhere. See Course backup for information on how to do this. The process is the same as backing up a single activity as we have done here.

Backup and restore of assignments from Moodle 2.2 and older

The assignment activity module was completely rewritten in Moodle 2.3. Thus, assignments from Moodle 2.2 and older (e.g. from Moodle 1.9) need to be upgraded in order to continue being usable. See the section 'Restoring course backups from Moodle 2.2 and older' in Assignment upgrade tool for details of what to do.