Moodle
  1. Moodle
  2. MDL-15282

Courses backed up from version 1.9.1+ (build20080521) will not restore in version 1.9+

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.3
    • Component/s: Backup
    • Labels:
      None
    • Environment:
      Our Moodle installation is on a Linux server php5.1.6, the others are also on Linux servers (php 5.2.6)
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      30829

      Description

      Courses backed up from Moodle 1.9.1.+ will only restore in other 1.9.1+ installations and not in 1.9. I attached the error message and an empty test course. Prior to 1.9.1+ there has never been a problem.

        Activity

        Hide
        Howard Miller added a comment -

        Just a thought... I was under the impression that backup and restore was not guaranteed to works "backwards" (i.e. a new version of Moodle to an older). It's a bit unfortunate, but any fix would now be in 1.9.2 and you'd have to upgrade anyway. So, in short, the only solution is to upgrade to 1.9.1+.

        Show
        Howard Miller added a comment - Just a thought... I was under the impression that backup and restore was not guaranteed to works "backwards" (i.e. a new version of Moodle to an older). It's a bit unfortunate, but any fix would now be in 1.9.2 and you'd have to upgrade anyway. So, in short, the only solution is to upgrade to 1.9.1+.
        Hide
        Petr Škoda added a comment -

        hello,
        yes that is correct Howard - the backups can be restored only in newer versions. Usually the backups work inside stable branch too, but if there are some major bugs in backup/restore code we can not guarantee that (which was the case in 1.9.0)

        We are getting close to 1.9.2 these days, there might be some more backup related fixes this week. I would strongly recommend to upgrade any 1.9.x sites to 1.9.2 when it gets released.

        thanks for the report any way

        Show
        Petr Škoda added a comment - hello, yes that is correct Howard - the backups can be restored only in newer versions. Usually the backups work inside stable branch too, but if there are some major bugs in backup/restore code we can not guarantee that (which was the case in 1.9.0) We are getting close to 1.9.2 these days, there might be some more backup related fixes this week. I would strongly recommend to upgrade any 1.9.x sites to 1.9.2 when it gets released. thanks for the report any way
        Hide
        Jonathan Harker added a comment -

        This is a bug that has been in the code since Wed Aug 15 22:43:25 2007 (fix to MDL-10383, committer: skodak). Please see the following git commit for a fix:
        http://git.catalyst.net.nz/gitweb?p=moodle-r2.git;a=commit;h=b76843ce34efb08bf0cca4791d7509de9c6455ff
        I will try to get this upstream shortly
        Jonathan Harker
        Catalyst IT

        Show
        Jonathan Harker added a comment - This is a bug that has been in the code since Wed Aug 15 22:43:25 2007 (fix to MDL-10383 , committer: skodak). Please see the following git commit for a fix: http://git.catalyst.net.nz/gitweb?p=moodle-r2.git;a=commit;h=b76843ce34efb08bf0cca4791d7509de9c6455ff I will try to get this upstream shortly Jonathan Harker Catalyst IT
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Wow! Silly typo! Fixing it now!

        Show
        Eloy Lafuente (stronk7) added a comment - Wow! Silly typo! Fixing it now!
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Change applied now restore should work BC within the 1.9.x series. Thanks!

        Show
        Eloy Lafuente (stronk7) added a comment - Change applied now restore should work BC within the 1.9.x series. Thanks!
        Hide
        Petr Škoda added a comment -

        thanks

        Show
        Petr Škoda added a comment - thanks

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: