I was running a few wordpress sites on an ubuntu server (11.04) . It crashed but I was able to pull the hard-drive and make a copy of the entire system. I have now installed on more reliable hardware running ubuntu 12.04 server.
How do I restore the wordpress content and databases? Is this possible?
Things I have tried:
I tried copying over the entire /var/www/ folder but that didn't work (database issues).
I tried re-installing wordpress fresh (newest), associating with a new database (same name as before using phpmyadmin), and then copying the old wp-content folder over. The webpage would not show up and nothing worked.
It appears to me that the database issue is what is confusing me. How do I restore based upon what I have? Where are all the mysql databases stored at anyway? Not under /var/lib/mysql like I have heard from other websites...
Any help would be greatly appreciated!