I'm trying to schedule backups of complete Moodle sites, and for some reason it's not working, and I have no idea why not because I have very little information to go on!
I actually administer about 14 separate Moodles, all on the same Windows server. I've set up a backup schedule for the whole of each Moodle site in Administration » Configuration » Backup, and created the necessary folder to save the file into and entered its path at the bottom of the page.
When I try to run the backup, however, in the log file I get a page of lines like this (only the first line is shown - all the others show the same error):
Course | Time taken | Status | Next | ||
TLC Moodle | 1 Jan, 00:00 | - | 1 Jan, 00:00 | Error | 3 Jun, 00:00 |
The error message tells me absolutely nothing, so I've been experimenting to see if I can fix it. From searching these forums it looked like the most likely reason was permissions on the destination folder, so I've given 'Everyone' complete control of the folder (highly insecure I know, but guaranteed to remove permissions problems!), and it still didn't work. I've tried leaving the folder path box blank so it will save it where it wants to save it, and it still doesn't work, though if I do a manual course backup it saves the zip file quite happily.
I know there's very little information to go on, but does anyone have any ideas what the problem could be? Does Moodle keep any other logs that might tell me what's actually happening? I've tried turning debugging on, but as I'm not running the backup script directly in my browser I don't get to see any messages that might be generated - can I launch the script directly in my browser so I can see any output it generates, and if so, which script is it please?
I'd be grateful for any ideas of what might be wrong, or suggestions for debugging - if I can get Moodle to tell me exactly what's wrong I can fix it, but 'Error' tells me nothing!
Chris