Restore courses from remote Moodles
Maintained by
Céline Pervès
block my_external_backup_courses : Restore courses from remote moodle platforms
my_external_backup_restore_courses is a Moodle block that enable a user to restore courses from external moodles
this block must be installed in each moodle course clients and course servers involved
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
In the current context I have mission to finish before doing it
I'm going to contact you directly
But you mus'nt use this plugin with 2 different version of moodle
I'm also facing same problem as Jacques mentioned above.
I'm using Moodle3.5.2 as client and Moodle3.6 as server.
Thanks,
Azmat
Execute scheduled task: tâche du plugin restaurer vos cours depuis des Moodle distants (block_my_external_backup_restore_courses\task\backup_restore_task)
... started 15:56:39. Current memory use 9.9Mo.
... used 37 dbqueries
... used 3.9998121261597 seconds
Scheduled task failed: tâche du plugin restaurer vos cours depuis des Moodle distants (block_my_external_backup_restore_courses\task\backup_restore_task),error/setting_by_name_not_found
Backtrace:
* line 97 of /backup/util/plan/base_task.class.php: call to base_plan->get_setting()
* line 439 of /blocks/my_external_backup_restore_courses/locallib.php: call to base_task->get_setting()
* line 322 of /blocks/my_external_backup_restore_courses/locallib.php: call to block_my_external_backup_restore_courses_task->restore_course_from_backup_file()
* line 25 of /blocks/my_external_backup_restore_courses/classes/task/backup_restore_task.php: call to block_my_external_backup_restore_courses_task_helper::run_automated_backup_restore()
* line 104 of /lib/cronlib.php: call to block_my_external_backup_restore_courses\task\backup_restore_task->execute()
* line 292 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
* line 91 of /admin/tool/task/schedule_task.php: call to cron_run_single_task()
Thanks for your reply.
The two Moodles' version is 3.0.10 (Build : 20170508).
For the token : the toked created on server is set in client in "external moodle list to connect to" with the server's URL.
In the notification the error is "file retrieve : no files in zip".
For the parameters, you can see sreanshoots here : https://de2729.ispfr.net/download/remote_restore_course_test.pdf
Thanks for your help.
Jacques.
Are your two moodles client and server in same version?
is the token correctly configured beetween to servers?
Whate are your parameters?
What are the errors in notification?
For testing, I'v install block_my_external_backup_restore_courses on two Moodle, one like "server", one like "client".
I follow exactly the install process.
On the client, the user see the list of courses there are possible to restore.
But after the restore it give an error status for the course in the list and the courses is not restore.
For my tests, I launch manually the cron. In the log of the cron there is this : "file retrieve : no files in zip".
Perhaps I'ave forgot something.
Can you help me ?
Best regards,
Jacques.
Thanks Céline for sharing the plugin. I have published it now.
I tried to do this but the risk to make in unstable while in production on our moodle is too high
No, sorry for not being clear. It was actually meant as a note for ourselves (me and Mike) that these two dependent plugins are best to be reviewed together. We can't approve the dependent one without having the other one approved first.