by Visvanath Ratnaweera.
Severin
You saved days of work for me! Your first method is the right one to the dot.
Here is a summary for others in search of the same thing:
- The critical setting is Courses > Backups > Automated backup setup > Automated backup = manual
The weekdays and times on that screen are irrelevant. You might want to untick them and set the time to 0:0 so that they won't mislead you later. (Hopefully, the other parameters in that scree, like no. of copies, are still valid.)
- Then run your own cron job. In my case
(I know, that is a waste. But they are burnt children and need time.)
- Site administration > Server> Scheduled tasks > Automated backups is irrelevant (or will confuse). Deactivate it!
P.S. For me a yet another proof that a GUI can not catch a less than trivial configuration! Well, in this case, one could, then the selection "manual" should gray things out which are no more relevant.
You saved days of work for me! Your first method is the right one to the dot.
Here is a summary for others in search of the same thing:
- The critical setting is Courses > Backups > Automated backup setup > Automated backup = manual
The weekdays and times on that screen are irrelevant. You might want to untick them and set the time to 0:0 so that they won't mislead you later. (Hopefully, the other parameters in that scree, like no. of copies, are still valid.)
- Then run your own cron job. In my case
13 6,12,18 * * * sudo -u www-data /usr/bin/php /path/to/moodle/admin/cli/automated_backups.phpsince they want to do this three times a day.
(I know, that is a waste. But they are burnt children and need time.)
- Site administration > Server> Scheduled tasks > Automated backups is irrelevant (or will confuse). Deactivate it!
P.S. For me a yet another proof that a GUI can not catch a less than trivial configuration! Well, in this case, one could, then the selection "manual" should gray things out which are no more relevant.