Unfortunately to my best knowledge it is still open both in 1.5x and in 1.6dev branchs.
But I seem to remember it was possible to comment the 2 lines:
notify("Restoring quiz without user attempts. Restoring of user attempts will be implemented in Moodle 1.5.1");in the mod/quiz/restorelib.php file and have the actual state of the code wich is working for a lot of question types (but maybe not for random questions, rqp questions and some others, I'm not sure, maybe problems have been fixed since june)
If you are only using multiple choice, true/false, ... and are in a hurry to retore your users attempts maybe you can try this on a test Moodle install (not on your production server, not to corrupt your database) and see if it restore all your users attempts.
In any case it would be wise to wait for Gustav or Julian comments on this issue before doing anything
The updated version of restorelib.php is attached to this post. Could people who know what they're doing please copy the file to a test installation, test the restore functionality with some real data and report any failures (or even success )? When it seems stable enough I will then commit the modifications to CVS.
Yes, but I'm getting some errors. I'll try again and paste a copy of the errors so you can check them out. I'm not sure if they have anything to do with the script.
I'm sorry for taking ions to answer. I've had some problems with the backup and restore process. But I've tried restoring only the quizzes without any other information and the 30 quizzes I had with more than 2500 items and more than 500 student attempts for only one course worked as a charm. I´ll try with the rest of my courses, but I strongly believe I won't have any problems.
Thanks for sharing your php file. It was what I needed.