Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83112

Course restored with restore_backup.php not listed on course/management.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 4.4.3
    • Backup
    • None
    • MOODLE_404_STABLE

      On my site if I restore a course with admin/cli/restore_backup.php it's not listed on the Manage course categories and courses page. I have to purge all caches to see it.

      Steps to reproduce issue

      1. Back up a course.
      2. Copy the mbz file to somewhere the web server's user account (for example, apache or www-data) can see this.
      3. Run sudo -u apache /usr/bin/php admin/cli/restore_backup.php --file=/PATH/TO/backup-moodle2-FILENAME.mbz --categoryid=1.

      Expected results

      Course Restore as a new course is listed on the Manage course categories and courses page if I refresh the page.

      Actual results

      The restored course is not listed on the Manage course categories and courses page, but it does exist.

            Unassigned Unassigned
            leonstr Leon Stringer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.