by Indra Abdurojak.
![]()
![]()
![]()
![]()
Hai Ken, glad to get respon from you.
So, I move all course (as admin) from production server to archive server. I do this with backup restore process between two moodle server. In My collage has paralel course such as course A and B that enrolled by same teacher. I complete restore course A with no problem, but when restore course B warning that error.
"Is that the name of the backup file?
backup-moodle2-course-2446-c_1001_uai707_pai_7_ \ ( islam_disiplin_ilmu_kedokteran \ )_a_12022-20230706-1603.mbz"
This file name is generate automatically when i do backup via command line moodle, "\" mean space character.
By the way I use moodle 4.0.9
This is the php version
So, I move all course (as admin) from production server to archive server. I do this with backup restore process between two moodle server. In My collage has paralel course such as course A and B that enrolled by same teacher. I complete restore course A with no problem, but when restore course B warning that error.
"Is that the name of the backup file?
backup-moodle2-course-2446-c_1001_uai707_pai_7_ \ ( islam_disiplin_ilmu_kedokteran \ )_a_12022-20230706-1603.mbz"
This file name is generate automatically when i do backup via command line moodle, "\" mean space character.
By the way I use moodle 4.0.9
This is the php version

Mysql version

"Might want to run a query like:
select auth,username,mnethostid from mdl_user where username like 'd960231';"
select auth,username,mnethostid from mdl_user where username like 'd960231';"

I use example 2 to restore to existing course because when i bulk restore the courses, all course are restored but some course is empty (such as course B in paralel course)

"Is your DB fully compliant?
CLI scripts in code/admin/cli/ will assure that DB is."
What is command to do this?
I hope there is solution, i need ro restore more than 3000 courses.
God bless you, Ken.
Thanks.