by Eugene Matusov.
Dear David--
It seems that I have the same problem as you with the same version of Moodle. You wrote, "I wrote a script to manually back up the courses with CLI." Would you mind sharing your script with me, please?
I'd appreciate your help,
Eugene