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

Allow backup and restore on the front page

XMLWordPrintable

    • MySQL
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_24_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • MDL-31500_master
    • Hide

      None

      Show
      None
    • Hide

      Test 1

      • All unit tests and behat tests should pass (ask integators)

      Test 2

      • Enable automated backups (https://docs.moodle.org/28/en/Automated_course_backup) and ensure it works as expected
      • Perform a CLI backup of the front page saving the file in your computer
      • It SHOULD store the file
      • Upload the file to the front page and select it
      • Try to restore it in another course (not the front page)
      • You SHOULD receive an error before performing the restore
      • Try to restore it in the front page selecting in the existing course adding the new contents
      • It SHOULD be correctly restored
      • Change the front page contents
        • Blocks
        • Activities
        • Section name
      • Restore the front page backup selecting the existing course and deleting previous contents
      • It SHOULD be correctly restored
        • Ensure that the previous contents are restored and what you changed remains as it was when you created the backup
      • Go to the front page and select 'Backup' link, continue with the backup
      • All SHOULD finish as expected and the backup SHOULD be listed when you press the 'Restore' link
      Show
      Test 1 All unit tests and behat tests should pass (ask integators) Test 2 Enable automated backups ( https://docs.moodle.org/28/en/Automated_course_backup ) and ensure it works as expected Perform a CLI backup of the front page saving the file in your computer It SHOULD store the file Upload the file to the front page and select it Try to restore it in another course (not the front page) You SHOULD receive an error before performing the restore Try to restore it in the front page selecting in the existing course adding the new contents It SHOULD be correctly restored Change the front page contents Blocks Activities Section name Restore the front page backup selecting the existing course and deleting previous contents It SHOULD be correctly restored Ensure that the previous contents are restored and what you changed remains as it was when you created the backup Go to the front page and select 'Backup' link, continue with the backup All SHOULD finish as expected and the backup SHOULD be listed when you press the 'Restore' link
    • BACKEND Sprint 18

      Total of 3 errors associated with restoring a Front Page Backup:
      1) Attempting to restore a front page backup (from a 2.1 install) fails with message 'Restoring over front page is not allowed'
      2) The backup file which was uploaded does not stay in the Course Backup Area (related to MDL-30808 ?)
      3) Choosing Settings -> Site Administration : Front page : Front page restore (URL /files/index.php?id=1&wdir=%2Fbackupdata) generates Internal Server Error

      This means that you cannot set up a site with a front page on a local sandbox machine and then port it onto a production site.
      Moodle 2.2.1+ (Build: 20120112)

      Replication steps:
      Switch on debugging with with Advanced features -> Development -> Debugging : Debug messages : ALL
      1) Choose Settings : Front page settings : Restore
      2) Upload mbz backup file
      3) On Screen 3 of the restore process, choose Restore into this course : Merge the backup course into this course (default)
      Restore settings good
      4) Schema : Overwrite course configuration : yes. All components checked (Section 0, section 1) and User data checked as well.
      5) Review -> [Perform restore]
      Message Restoring over front page is not allowed. No debugging messages

      More details at http://moodle.tiddlyspace.com/#%5b%5bM2.2%20front%20page%20backup%20%232%5d%5d

            dmonllao David Monllaó
            markpearson Mark Pearson
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Andrew Lyons Andrew Lyons
            Votes:
            31 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              Resolved:

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