Ok, this is shameless advertising, but here it goes anyway: Peter's way works perfect, but it will take a huge amount of time. You may also want to consider one of my recovery scripts that can recover a project in minutes: Recovery script | WvanWeelden.eu
In the interest of full disclosure: Please note that these scripts are commercial.
Sorry, Willam. Plum forgot about your cool scripts!