I never had particular problems with my course-backups. They started some months ago, and I really have a medium sized site, over 15'500 users and more than 5'000 courses, nearly 600 GB of Moodle-Data, which includes the backup files of every course.
I know, I could save 300 GB of Data-Space if I would not create the backup-zip files and deleting them.
But it is really simpler to restore a single course if a teacher misses something than rewinding back the whole database and Moodle-Data Directory by a restore from tape.
On a dynamic system like Moodle, rewinding back is only good for a complete server loss.
I did already three migrations of the Moodle server onto newer hardware, which can be done in the same way you would do to recover the server from a total crash.
But I never experienced a total crash. So what I need is the automatic course-backups to restore single files or courses that have been messed up with Word-HTML or even Apple-Mac-HTML-Code, when users simply copy/paste from those programs directly into the HTML-Fields of Moodle. This is quick and does not interfere with the running system.
At the moment the backup procedure hangs at the cron-lock and finishes only a few courses at a time, despite max_memory and max_excution time having been risen in php.ini to phantastically high values.
As you can see in the open Tracker issue, the problems started when the whole backup cycle began to take/last more than 24 hours:
http://tracker.moodle.org/browse/MDL-11309
And at the moment being it lasts forever. An I have no clue why.
Any hints? Rosario
(Edited by Visvanath Ratnaweera - original submission Wednesday, 14 March 2012, 06:09 PM
Split from the thread "Cron Execution can last 5+ hours" http://moodle.org/mod/forum/discuss.php?d=114464 )