Hi All,
we are trying to backup and restore some courses from 1 moodle site to another.
The backups have been done successfully with moodle CLI and now trying to restore with moosh some restore fine and other error
here is the output from the command
moosh -n course-restore /var/moodledata/backups/backup-moodle2-course-11335-7fr-20191204-0842-nu.mbz 12
Creating new course to restore backup
Restoring (new course id,shortname,destination category): 128,7FR,12
Restore pre-check failed!
array(1) {
["warnings"]=>
array(2) {
[0]=>
Creating new course to restore backup
Restoring (new course id,shortname,destination category): 128,7FR,12
Restore pre-check failed!
array(1) {
["warnings"]=>
array(2) {
[0]=>
string(152) "The questions category "French Question Bank", originally at system/course category context in backup file, will be created at course context by restore"
[1]=>
string(135) "The questions category "top", originally at system/course category context in backup file, will be created at course context by restore"
}
}
[1]=>
string(135) "The questions category "top", originally at system/course category context in backup file, will be created at course context by restore"
}
}
If I restore the course manually through the web interface it shows the warnings about the question category but restores fine
any suggestions on fixing the or finding more details than Restore pre-check failed!
thanks
Simon