by Adrian Perez Rodriguez.
I've now done the backup manually and the backup process completes without error but the associated logfile is empty having a size of 0KB.
The generated .mbz file contains the xml files and the activities data.
Output on prod console is:
[root@<hostname> cli]# php backup.php --courseid=1 --destination=/tmp
== Performing backup... ==
Writing /tmp/<backupfile>.mbz
Backup completed.
When I do the same on our development environment I get an output with:
[root@<hostname> cli]# php backup.php --courseid=1 --destination=/tmp
== Performing backup... ==
instantiating backup controller 90ed2f41604aa618a3c70145674be0fc
setting controller status to 100
loading controller plan
setting controller status to 300
applying plan defaults
setting controller status to 400
setting file inclusion to 1
checking plan security
setting controller status to 500
setting controller status to 700
saving controller to db
calculating controller checksum f53848be101b4b7829b5912c5f808182
loading controller from db
setting controller status to 800
setting controller status to 1000
saving controller to db
Writing /tmp/<backupfile>.mbz
Backup completed.