First message, let me know of any faux pas. This forum felt like the best option for my topic.
I have a Moodle 4.5 and restoring from a 11 KB backup takes 30+ minutes. In my task logs I see the "Asynchronous restore" was actually done with a duration 5 seconds, but that comes after 30 minutes of waiting.
The task log has many entries every second. Understandable, but feels like a lot and the wait is a bit painful. Are there any best practices I might be missing to make course restores fast(er)?
I have ~50 restores to do in the coming weeks (template to individual course) and probably will do quite a lot more in the future.
That sounds wrong. An 11KB backup is tiny and should take no time at all. First thing... how often is your cron setup set to run?
If every second (as recommended) then what else is happening with your tasks that is preventing the restore from running?
If you haven't, you should definitely read Cron. There's lots of useful information. The tasks subsystem has a few settings you can 'tune' as well.
If every second (as recommended) then what else is happening with your tasks that is preventing the restore from running?
If you haven't, you should definitely read Cron. There's lots of useful information. The tasks subsystem has a few settings you can 'tune' as well.
Ha! I do believe you got to the root of the issue right away, I have discovered
I contacted our hosting provider as I don't actually have access to the server and I could not find any setting that actually sets how often cron runs. Thank you.
Warning: The admin/cli/cron.php script has not been run for 18 mins 55 secs and should run every 1 min.
I contacted our hosting provider as I don't actually have access to the server and I could not find any setting that actually sets how often cron runs. Thank you.
Yeh - minute, not second. I was too keen, there 