by Eloy Lafuente (stronk7).
Hi Visvanath,
the "resource_old" table is a must-exist table in every Moodle site. It's used to keep the track of some (pre 2.0) Moodle resources information, but no matter of that it must exist in every site. Or you will run under problems.
My bet is that the table has been dropped in your site (by mistake), and that's leading to the restore problems. The solution, to recreate it.
Ideally from a DB backup where it was still present, especially if your site comes from 1.x days or, alternatively, by hand (the SQL commands to create it manually can be found in the Site admin -> developer -> XMLDB Editor -> mod/resource/db (load and edit) -> resource_old -> View SQL code).
Ciao