Issue Details (XML | Word | Printable)

Key: MDL-15282
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Eloy Lafuente (stronk7)
Reporter: Ulrike Montgomery
Votes: 0
Watchers: 5
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 17/Jun/08 09:55 PM   Updated: 13/Aug/08 05:19 AM
Return to search
Component/s: Backup
Affects Version/s: 1.9.1
Fix Version/s: 1.9.3

File Attachments: 1. Zip Archive backup-TestClass.zip (18 kB)

Image Attachments:

1. restorefail.gif
(44 kB)
Environment: Our Moodle installation is on a Linux server php5.1.6, the others are also on Linux servers (php 5.2.6)

Participants: Eloy Lafuente (stronk7), Howard Miller, Jonathan Harker, Petr Skoda and Ulrike Montgomery
Security Level: None
QA Assignee: Petr Skoda
Resolved date: 07/Aug/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Howard Miller added a comment - 30/Jun/08 05:58 PM
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+.

Petr Skoda added a comment - 30/Jun/08 07:00 PM
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


Jonathan Harker added a comment - 15/Jul/08 08:09 AM
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

Eloy Lafuente (stronk7) added a comment - 07/Aug/08 12:40 AM
Wow! Silly typo! Fixing it now!

Eloy Lafuente (stronk7) added a comment - 07/Aug/08 12:44 AM
Change applied now restore should work BC within the 1.9.x series. Thanks!

Petr Skoda added a comment - 13/Aug/08 05:19 AM
thanks