I've tried to anonymize some course content by unzipping a backup, search and replacing through moodle.xml
, and then zipping again.
This fails at the first hurdle with the message:
Error checking backup file. Invalid or corrupted.
In investigating this it turns out that simply unzipping and zipping the file (on either Windows XP or Mac OS X) is enough to stop the Moodle restore process from functioning.
I turned on debug but didn't get any more info.
Seaching the forum suggested that using the built in php zip routines might cause problems, switching them to use the ones supplied with Linux didn't seem to help.
Does anyone have any helpful suggestions?