Backup and restore problem

Backup and restore problem

by Butch Evans -
Number of replies: 6
I have 2 moodle servers. There is a private server (version 1.9.1) where I created a course with new users. In this course, there are 3 quizzes. The students took the quizzes, grades all seem to work correctly in the private server.

I created a backup of this course, including user data. On my public server (version 1.9.3), I imported this course. All appears to have imported correctly, including the quiz "attempts". The grades all show up there. When I look at the grades (the full course gradebook), the grades are not showing up. I have tried the "regrade" option, but am stuck as to where to proceed from here.

I don't mind to "rtfm", but please if it exists, point me to the right fm. wink
In reply to Butch Evans

Re: Backup and restore problem

by Nicolas Connault -
This looks like a bug. While I look into it, could you possible upgrade your private server to 1.9.3, then attempt the backup/import again? It may be fixed in 1.9.3.
In reply to Nicolas Connault

Re: Backup and restore problem

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers

Nicolas,

If it's a backup/import issue could it be related to the MDL-16918 issue in any way? That tracker is also about imported grades not displaying in the Gradebook.

In reply to Luis de Vasconcelos

Re: Backup and restore problem

by Butch Evans -
It's not likely related to MDL-16918, as that one describes a Windows server issue, and both public and private are Linux servers. Also, mine was not an import, but a backup/restore. Maybe those functions perform an import from CSV, but I did not see the error described by that bug.
In reply to Nicolas Connault

Re: Backup and restore problem

by Butch Evans -
I can, but I am afraid that if I do, I will lose the grades in the private server. If that is unlikely, then I will happily try it. The grades DO show up in the public 1.9.3 server, but only when you look at the quiz, and not in the overall grader report.
In reply to Nicolas Connault

Re: Backup and restore problem

by Butch Evans -
I did the upgrade on my private server. Upgrade went smoothly and the grader report does show the grades. When I did a backup (selected all items to backup), then transferred to the new server and restored, I see the same issue.
In reply to Butch Evans

Re: Backup and restore problem

by Butch Evans -
I did a comparison of the 2 database schemas and found several differences between the public and private servers, even though they were (after the upgrade) running the same versions. Since the public server was brand new, I just wiped the database and did a fresh install on the public server's db, then (using the same backup as before) restored the files again. This time, it worked as expected.

It appears that the problem was related to a corrupted installation. Thanks for all your input.