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
Price option: Free

Supports Moodle 3.0-4.5 See all versions
Latest release: 12 months ago
Installations: 110
Downloads (last 90 days): 85

Frankenstyle name: block_my_external_backup_restore_courses
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

thnx Celine, that will be great
Hello, the 3.5 version is ready but I did'nt have time to update it and push to moodle.org
In the current context I have mission to finish before doing it
I'm going to contact you directly
Hi, how about a version for Moodle 3.5??.. i really need to used right now.. and.. is there a chance to use in Moodle 2.5??
Hello, I am migrating this plugin into 3.5 version and will publish it as soon as possible
But you mus'nt use this plugin with 2 different version of moodle
Hi Celline,
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
I follow this plug in and some erreur with the Cron
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()
Hi Céline,
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.
Hi, in order to help you
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?
Hi,
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.
Thak you, Hope it will be as usefull as in our case.

Thanks Céline for sharing the plugin. I have published it now.

I changed the default value as asked and change the documentation to be a little more comprehensive
too much impact if I correct all code style errors and warning.
I tried to do this but the risk to make in unstable while in production on our moodle is too high
OK

I'll have to put tool_my_external_backup_restore_courses_admin in the block plugin distribution

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.