Hi,
I am on moodle 3.5 and not able to backup the courses created. Incidentally the course template plugin uses the backup and restore function quite effectively to create a new course with sample template layouts and activites.
Here is the error that was displayed. Any help in this regard will help
The Moodle DB user has previliges to create temporary tables as well.
---------------------------------
Error message on moodle:
CREATE TEMPORARY TABLE
mdl_backup_ids_temp (
id BIGINT(10) NOT NULL auto_increment,
backupid VARCHAR(32) CHARACTER SET utf8 COLLATE
utf8_unicode_ci NOT NULL DEFAULT '654637d3ebd624b97aa2940827d3659b',
itemname VARCHAR(160) CHARACTER SET utf8 COLLATE
utf8_unicode_ci NOT NULL DEFAULT '',
itemid BIGINT(10) NOT NULL,
newitemid BIGINT(10) NOT NULL DEFAULT 0,
parentitemid BIGINT(10),
info LONGTEXT CHARACTER SET utf8 COLLATE
utf8_unicode_ci,
CONSTRAINT PRIMARY KEY (id)
) DEFAULT CHARACTER SET utf8 DEFAULT COLLATE
utf8_unicode_ci ROW_FORMAT=DYNAMIC
;
CREATE INDEX mdl_backidstemp_bacitepar_ix ON
mdl_backup_ids_temp (backupid, itemname, parentitemid)
;
CREATE INDEX mdl_backidstemp_bacitenew_ix ON
mdl_backup_ids_temp (backupid, itemname, newitemid)
;
CREATE UNIQUE INDEX
mdl_backidstemp_baciteite_uix ON mdl_backup_ids_temp (backupid, itemname,
itemid)
Error code: ddlexecuteerror