Restoring WordPress backup
Posted on 2012-08-31
Halfway through building my new wordpress site it got hacked. The front page turned into some foreign rubbish with a video. I believe that this may have been a result of a contact us plugin that i used.
I didn't take a backup of the site as i had only just started and hadn't got round to it. No excuse I know.
The site host suspended my account and the only way i could get to my data was through FTP. What i need is the content of the pages that i wrote and also some custom CSS code i wrote. The host has provided my with a complete copy of the site ready for them to format it. However, this also includes the compromised files.
From what i have seen on the net, the data/pages are stored in a database, i was hoping they would be stored as .php files or similar that i could just copy from the server.
How do / can I get the pages/content and the css code i wrote from the database? Or is there some other way i can deal with the compromised files so i can just get it back to how it was?
Any help on this would be greatly appreciated.