backup_controller seems to work, but returns nothing

Re: backup_controller seems to work, but returns nothing

by Eloy Lafuente (stronk7) -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Matthew,

maybe your programatic backup is being sent to the configured automated area because, in your code... you're using backup::MODE_AUTOMATED and that makes backup to use the scheduled backup configured options to decide about final destination.

Surely using backup::MODE_GENERALinstead will do the trick and you'll get a backup file stored into Moodle file area (personal backup area if the backup does not include users info and course backup area if the backup does include users info).

Hope it helps, ciao smile