In my experience, it's not perfect, but it's a /lot/ better than having
to reinstall everything from scratch.
In the end, though, I found the best thing is documentation - make a
note of what works (and what doesn't), and refer to that, and update it,
everytime you need to reinstall.