Here are the steps I took when I upgraded my 2009 Mac Book Pro.
1. Buy new Hard Drive. I used this opportunity to upgrade from a 320GB to 1 TB hard drive.
2. Clone HD. Carbon Copy trial version is what people recommend.
3. Swap cloned HD
4. Power up, go to app store and download Yosemite
5. 1-2 hours later, Yosemite is installed and SMC reports my machine is running 10 degrees cooler.
steps that I didn't need to take
6. If the upgrade went horribly wrong, I would've swapped back my original harddrive.