Course copy: Difference between revisions

From MoodleDocs
(Course copy was always async so unaffected by enableasyncbackup, asynchronous_copy_task is an adhoc task so cannot be disabled)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Backup}}
{{Backup}}
==About course copy==
==About course copy==
{{New features}}In Moodle 3.9 onwards, administrators, managers and those with the relevant capabilities can quickly copy courses from a course category or within a course.
Administrators, managers and those with the relevant capabilities can quickly copy courses from a course category or within a course.
{{MediaPlayer | url = https://youtu.be/-V8z3jlOygc| desc = Course copy}}
{{MediaPlayer | url = https://youtu.be/-V8z3jlOygc| desc = Course copy}}
Note: With large courses it is helpful to be able to continue working while a course copy is being made. To achieve this, you need to enable asynchronous backups in ''Site Administration / Courses / Backups / Asynchronous backup/restore''.


==Course copy from Course and category management screen==
==Course copy from Course and category management screen==
Line 14: Line 12:
==Course copy from within a course==
==Course copy from within a course==
# Access the course you want to copy.
# Access the course you want to copy.
# Click the cog icon (Boost theme) or locate the Administration block (Classic theme) and click Copy course.
# From Course navigation > More > Course reuse, select 'Course copy'.


==Course copy settings==
==Course copy settings==
Line 28: Line 26:
* [[Capabilities/moodle/course:view]]
* [[Capabilities/moodle/course:view]]
* [[Capabilities/moodle/course:create]]
* [[Capabilities/moodle/course:create]]
Besides, if you want they can include user data (i.e. keep role enrolments), the role will need the following capabilities too:
* [[Capabilities/moodle/restore:createuser]]
* [[Capabilities/moodle/backup:userinfo]]
* [[Capabilities/moodle/restore:userinfo]]


==Troubleshooting==
==Troubleshooting==


If course copying fails to complete, please check:
If course copying fails to complete, please check [[Cron]] is running every minute


# [[Cron]] is running every minute
If there is a quiz in the course and you are a teacher or manager this feature does not currently work. For more information see MDL-69941
# The [[Scheduled tasks|scheduled task]] asynchronous_copy_task is enabled


[[es:Copia del curso]]
[[es:Copia del curso]]
[[de:Kurs kopieren]]
[[de:Kurs kopieren]]

Latest revision as of 15:54, 10 August 2023

About course copy

Administrators, managers and those with the relevant capabilities can quickly copy courses from a course category or within a course.

Course copy

Course copy from Course and category management screen

  1. From Site administration / Courses / Manage courses and categories, click to select a category.
  2. Find the course you want to copy, and click the duplicate icon to copy the course.
Copying courses from a category

Course copy from within a course

  1. Access the course you want to copy.
  2. From Course navigation > More > Course reuse, select 'Course copy'.

Course copy settings

As well as setting the course name, category, visibility and dates, you can make the following selections:

  • Include user data - Similar to in a course backup, you can decide whether or not to include the data of any users with the roles in your course who will be included in the next setting.
  • Include role enrolments - If you select a role here then users with that role will be enrolled into the copied course, either with or without their user data, depending on the previous setting.

Allow teachers to copy courses

To allow a course teacher (or any role other than an admin or manager) to copy courses, the role needs the following capabilities:

Besides, if you want they can include user data (i.e. keep role enrolments), the role will need the following capabilities too:

Troubleshooting

If course copying fails to complete, please check Cron is running every minute

If there is a quiz in the course and you are a teacher or manager this feature does not currently work. For more information see MDL-69941