Raspberry PI Recovery

My Raspberry PI has been running continuously for over a year. Unfortunately, SD card has died today. I use it mostly as surveillance camera, but I have experimented also with thermometer, FM transmitter and various clever PHP scripts. I had to make complete reinstall, everything works like a charm again.