Hi,
I'd like to transfer a course from myoldmoodleserver.co to mynewmoodleserver.co.
So I've made a course backup via the webinterface of course "example1" on myoldmoodleserver.co.
The import on mynewmoodleserver.co via webinterface took too long. So I decided
to import on that server with the help of moosh like so:
moosh course-restore backup_example1.mbz 1
This import has not come to an end so far. I can only see the following messages on the shell:
line 518 of /backup/util/dbops/restore_dbops.class.php: call to restore_dbops::prechek_precheck_qbanks_by_level()
* line 178 of /backup/util/helper/restore_prechecks_helper.class.php: call to restore_dbops::precheck_categories_and_questions()
* line 382 of /backup/controller/restore_controller.class.php: call to restore_prechecks_helper::execute_prechecks()
* line 161 of /home/memyself/moosh/Moosh/Command/Moodle33/Course/CourseRestore.php: call to restore_controller->execute_precheck()
* line 297 of /home/memyself/moosh/moosh.php: call to Moosh\Command\Moodle33\Course\CourseRestore->execute()
++ Did you remember to make the first column something unique in your call to get_records? Duplicate value ' myoldmoodleserver.co+190131100650+4F4fV1 myoldmoodleserver.co+190131100650+mANZOW' found in column 'concat(stamp, ' ', version)'. ++
* line 1254 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
* line 1495 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
* line 680 of /backup/util/dbops/restore_dbops.class.php: call to moodle_database->get_records_sql_menu()
* line 518 of /backup/util/dbops/restore_dbops.class.php: call to restore_dbops::prechek_precheck_qbanks_by_level()
* line 178 of /backup/util/helper/restore_prechecks_helper.class.php: call to restore_dbops::precheck_categories_and_questions()
* line 382 of /backup/controller/restore_controller.class.php: call to restore_prechecks_helper::execute_prechecks()
* line 161 of /home/memyself/moosh/Moosh/Command/Moodle33/Course/CourseRestore.php: call to restore_controller->execute_precheck()
* line 297 of /home/memyself/moosh/moosh.php: call to Moosh\Command\Moodle33\Course\CourseRestore->execute()
Can you help me to get the import running ?
Thanks a lot for your help!
Best,
Thor