Is the zip file you're restoring from the same size on both your PC and within the Moodle course's files area? If not, perhaps try deleting and re-uploading the ZIP file.
On my restore process the restoration seems to just quit partway through:
I've been working on this all week to bring our new Moodle up to speed for the new year and (in desperation really) have now moved to backing up everything from the old 1.8.3 course and then restoring (course by course - very slow) but removing all the user data, metacourses, course users and user files links and 'more or less' most of the time this is working well. Occasionally I have to bring the students back to get everything into it's rightful place and then I have to waste more time cleaning out 'old' dead students, but it is a way forward.
I have confidence that I will have a working Moodle with all courses up and running by Monday - the deadline - but wouldn't choose this approach ever again, so anyone who can resolve this for next year would have my endless thanks.
Everyone else in the same boat has my complete sympathy/empathy - and because of this time constraint I will be making no more comments until I've finIshed the job
I'm on 1.9.2 & on restore I get to
- Creating temporary structures
- Deleting old data
- Copying zip file
- Unzipping backup
- Checking for BlackBoard export
- Checking backup
- Reading info from backup
lines: 7076 > 7083 of the above file.
//We compare Moodle's versions
if ($CFG->version < $info->backup_moodle_version && $status) {
$message = new message();
$message->serverversion = $CFG->version;
$message->serverrelease = $CFG->release;
$message->backupversion = $info->backup_moodle_version;
$message->backuprelease = $info->backup_moodle_release;
print_simple_box(get_string('noticenewerbackup','',$message), "center", "70%", '', "20", "noticebox");
Thanks.
$message = new message();
to
$message = new object();
which I found in another post.
But then I had other problems.
So another clean install & all is restoring fine from 1.8 > 1.9.2
Mysterious are the ways of Moodle sometimes.