Searching for this issue all I can find are the problems about losing user data from 1.9 --> 2.x so appologies if this is covered extensively elsewhere.
My installation of 1.9.3 is all buggy so I've installed 1.9.19 separately and am trying to backup my course (with 5 years of users/data) and restore it into the new installation. I had backup problems for a while (crappy, slow webhost) that are now resolved but I want to make sure my course backup works before upgrading the existing installation, hence doing the backup/restore in a new installation of Moodle.
My problem is that when I restore the course, no user data is included. I've double checked all the obvious - that user data is included, the checks are checked, etc. When backing up, I select to include everything - all (not just course) users, logs, grade histories, etc. The only error message I see in the backup transcript is "Notice: Undefined property: stdClass::$intro in /home/povert6/public_html/moodle/mod/certificate/backuplib.php on line 47" but that shouldn't have anything to do with getting user data out.
When I restore the course in the new installation, I get a number of errors/ warnings (these are not all of them):
Warning: Attempt to assign property of non-object in /home/povert6/public_html/pattraining/lib/dmllib.php on line 1477
Notice: Trying to get property of non-object in /home/povert6/public_html/pattraining/mod/forum/restorelib.php on line 1005
Notice: Undefined property: stdClass::$restore in /home/povert6/public_html/pattraining/backup/restorelib.php on line 7757
Notice: Undefined index: FORMAT in /home/povert6/public_html/pattraining/mod/data/restorelib.php on line 449
Notice: Undefined variable: restore in /home/povert6/public_html/pattraining/mod/data/restorelib.php on line 454
Notice: Trying to get property of non-object in /home/povert6/public_html/pattraining/mod/data/restorelib.php on line 454
Notice: Undefined index: ASEARCHTEMPLATE in /home/povert6/public_html/pattraining/mod/data/restorelib.php on line 88
Questions:
- Is there a particular error message I should be looking for that would indicate the usre data isn't being restored correctly?
- Is there a way to check that my backup file does in fact include the user data?
- Is there some known, general solution to this problem?
I am the only admin for this course but I'm only pretend computer savvy. Thanks!