When trying to restore a backup on Windows, Apache and using PHP 5.2.13 the restore times out with:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files\Apache Group\Apache2\htdocs\moodle_201\backup\util\xml\parser\processors\grouped_parser_processor.class.php on line 138
I checked the code and found:
On windows dirname seems to behave quite oddly:
This causes the while loop to loop endlessly and causes a timeout.