by Emma Richardson.
Turn debugging on to developer level in the moodle admin settings. Try again and then post the output here.
Also, does this happen from every course or just one specific course?
At what point in the backup does it occur - tell exactly step by step what happens when...