End backup course ... ERROR!!

End backup course ... ERROR!!

by Thomas Haynes -
Number of replies: 2

Greetings...

I tried the backup module last night in 1.2. My cron job emailed me a long message, with each course ending with "ERROR!!"

23:30:09 copying user files

23:30:09 copying course files

23:30:10 zipping files

23:30:11 copying backup

23:30:11 End backup course Algebra 1X - Haynes - ERROR!!

Is this a permissions problem? The backup runs as what user?

Regards...   Tom

Average of ratings: -
In reply to Thomas Haynes

Re: End backup course ... ERROR!!

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Thomas,

the user running the web server process (apache, www, nobody...) is the OS user running scheduled backups (exactly like the rest of Moodle), so you must grant write perms to this user in destination dir.

Ciao smile
In reply to Eloy Lafuente (stronk7)

Re: End backup course ... ERROR!!

by Thomas Haynes -

I had a feeling this might be it.

Permissions are set.

Thanks...   Tom