A useful tool that I've run into out there is something called Minecraft Region Fixer that may be able to help you solve your issue.
Minecraft Region Fixer is a command line-based tool that scans the files of a Minecraft world save and checks the file structures to see if there are corrupted chunks, or if there are other issues with the world save as well.
In my past experience using this tool, I did notice it was scanning the level.dat files for corruption, and it seemed to have the ability to repair the corrupted file.
If you are not familiar with using a command line, it will be pretty easy if you read the author's documentation on his post. He does a good job of being clear and thorough, and hopefully you will be able to use it to solve your problem!
There is no way to automatically repair the world after it was opened in a wrong version. What happens in such case is the game loads the world and encounters blocks unknown to it, so it replaces all of them with Air. If the world is then saved, the information about deleted blocks is lost forever.
As you have a somewhat-relevant backup, your best course of action will probably be to open both worlds in a map editor (the only one I know of is MCEdit, but there are probably others) and selectively copy parts of the damaged world into your backup. Just see which version of each building is better - the damaged one or the unfinished one from the backup.
The reason for using backup world as a base, as mentioned by @dly, is that versions between 1.3 and 1.8 have introduced tons of changes to terrain generation, and not only your structures are now damaged, but the whole terrain, probably including underlying biome data.
Here's a short list of all naturally generated things added since 1.3 to scare you a bit :-) All these things now leave a hole in your world (or at least revert to more generic blocks).
- Flower Pots, Nether Quarz Ore, Trapped Chests, Horse Armor, Name Tags, Hardened Clay, Horses, dozens of new biomes, two Wood types and their derivatives, Podzol, Packed Ice, Coarse Dirt, Red Sand, Red Sandstone, several flowers and plants, Andesite, Granite, Diorite, Ocean Monuments. And Spawners are now probably broken due to different data format.
After copying your damaged structures to your backup, if your game was survival, you may also opt to using creative mode or MCEdit to manually repair remaining damage.
Best Answer
Originally found here
C:\documents and settings\USERNAME\application data\.Minecraft\saves
-or-
C:\Users\USERNAME\AppData\Roaming\.minecraft\saves
copy the repaired world back to the server folder & rename
If that doesn't work, try deleting the \players folder in that world as a last resort (player data will be lost)