Restoring this backup (in the ZIP):
backup-moodle2-course-28-notificationsagent-20250401-1211-nu.zip
Onto a "new course", in the same site, the restoration gives the trace:
Error: mdb->get_record() found more than one record!
line 1699 of /lib/dml/moodle_database.php: call to debugging()
line 144 of /mod/certifygen/backup/moodle2/restore_certifygen_stepslib.php: call to moodle_database->get_record_sql()
line 137 of /backup/util/plan/restore_structure_step.class.php: call to restore_certifygen_activity_structure_step->process_model()
line 123 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
line 178 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
line 111 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
line 189 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
line 236 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
line ? of unknownfile: call to progressive_parser->start_tag()
line 178 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
line 157 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
line 110 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
line 199 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
line 233 of /backup/moodle2/restore_activity_task.class.php: call to base_task->execute()
line 191 of /backup/util/plan/base_plan.class.php: call to restore_activity_task->execute()
line 168 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
line 411 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
line 219 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
line 146 of /backup/restore.php: call to restore_ui->execute()
Restoring this backup (in the ZIP):
backup-moodle2-course-28-notificationsagent-20250401-1211-nu.zip
Onto a "new course", in the same site, the restoration gives the trace: