Importing course materials directly from one course to another

Course data can be copied from one Moodle course to another by using the Import function found in the gear menu. This allows you to copy all or select course resources and activities to a different course site.

Note that following these instructions will copy all course content (files, forums, etc.), but will NOT copy enrollments or any student data (forum posts, submitted assignments, etc.).

  1. Go to the new course.
  2. Make sure the new course has the same format as the old course (i.e. Grid format, Topics format, etc). If necessary, click on [Edit Settings] in the gear menu and change the “Course Format” setting, then click [Save and display] at the bottom of the page. This is especially crucial if you are importing a course that used the Grid format; that is, make certain the new course is switched to Grid format before performing the import.
  3. Select the “More” tab, then click Course reuse.
  4. Select which of your previous courses you would like to Import. If the list is long you can type the name of the course in the search box to find it. Click the [Continue] button.
  5. On the next page click the [Next] button.
  6. On the next page you will see all the resources and activities in the course. If you wish to copy over everything, scroll to the bottom of the page and click [Next]. You may also choose to copy specific items only by checking or un-checking the boxes to the left of items.
  7. On the next page scroll to the bottom and click [Perform import].
  8. Allow Moodle to finish restoring the course (this may take a few minutes), and then click the [Continue] button at the bottom.
  9. You’ve copied your course data, and it should now be visible in the new course.
  10. If you have any “timed” elements, such as assignments with a specific due date or other resources that become visible/hidden at a particular time, you can adjust them for the current semester by selecting the Reports tab, then clicking “Dates”.  On the resulting page, select the Activity type (such as Assignment) from the dropdown box, then click Expand all.  You should see a list of all activities that have a date associated with them and can adjust them as necessary.  When finished, click [Save changes] at the bottom.  You can easily repeat this for other activity types.

Note: To successfully import a course, the imported course must have section labels for all topic blocks. If you don’t want to display a title in a particular section, you can enter a HTML non-breaking space entity, which is  , as the title.

Topic block in Moodle with section title highlighted

Restoring a course from a backup file

The process described below is necessary only when trying to restore a course from the Moodle Archive.

Creating a course backup

    1. Log into your Moodle site, which is located at either http://moodle.lafayette.edu (course sites) or http://spaces.lafayette.edu (non-course sites).
    2. Navigate to the appropriate course.
    3. Select the “More” tab on your main course page.
    4. Select “Course Reuse”.
    5. Choose “Back up” from the “Import” drop-down menu in the upper left corner.
    6. Navigate to the bottom of the “Backup Settings” page and click the [Next] button.
    7. On the “Include” page, you may want to uncheck all the items in the course by clicking “None”. You can then recheck only the items you wish to backup. Click the [Next] button.
    8. On the “Filename” page, you can edit the file name of the backup file, or you can leave the default.
    9. Scroll to the bottom and click the [Preform Backup] button. Click [Continue].

 

  1. Click [Download] on the final screen by your course title, which should begin with “backup” and end with “.zip”. This should prompt your browser to download the file.

Restoring a course backup to another course

  1. Log into your Moodle site, which is located at either http://moodle.lafayette.edu (course sites) or http://spaces.lafayette.edu (non-course sites).
  2. Navigate to the appropriate course.
  3. Select the “More” tab on your main course page.
  4. Select “Course Reuse”.
  5. Choose “Restore” from the “Import” drop-down menu in the upper left corner.
  6. Drag the backup file directly from your computer (it starts with “backup” and ends with “.mbz”) into the “Files” area of the “Import a backup file” page. It may take a few moments for the file to upload; there is nothing to indicate the progress of the uploaded file.
  7. The file upload limit in Moodle is 250MB. If your backup file is larger than 250MB, contact the Help Desk at help@lafayette.edu for assistance restoring your course.
  8. Click the [Restore] button once the file name is displayed in the “Files” area.
  9. Scroll to the bottom and click the [Continue] button.
  10. Under the “Restore into this course” section, choose to either merge this backup with what is currently on your course site or choose to restore your course while deleting any content you may have already placed on your current course site.
  11. Click the [Continue] button in the “Restore into this course” section.
  12. Click the [Next] button. Uncheck the boxes beside any items you do not wish to import and click [Next].
  13. Scroll to the bottom and click the [Perform restore] button.
  14. Click the [Continue] button to return to the course page.
  15. If you have any “timed” elements, such as assignments with a specific due date or other resources that become visible/hidden at a particular time, you can adjust them for the current semester by selecting the “Reports” tab and then “Dates”.
  16. On the resulting page, select the “Activity type” (such as Assignment) from the dropdown box, then click “Expand all”.  You should see a list of all activities that have a date associated with them and can adjust them as necessary.  When finished, click [Save changes] at the top or bottom.  You can easily repeat this for other activity types.
Tagged in: