How to recover a wordpress site, if we only have database of it ?
If you have only a database backup to recover your wordpress website, Just follow the below steps
STEP-1 : Create a database and import the database backup into it.
STEP-2 : Install wordpress and enter the new database details (Database Name, username and password) while installing. see below screenshots.
You will see a message that you have already installed wordpress. see below screenshot. just click on the login button and proceed.
STEP-3 : Install the fresh copy of your WordPress theme you had previously. if you had done direct changes, then you have to do them manually so that it looks like the same it was earlier.
STEP-4 : Go to Plugins page you will see errors like below screenshot. just start installing old plugins one by one.
STEP-5 : Start recovering The old images by using https://archive.org/, just go to the link and enter your wensite url in it.
This will show you some pages of your old website where you can recover your old images.
Thats all, the website you wanted is recovered now, just notice that all widgets and permalinks are recovered. Rest all theme settings and will be done manually by you. Thank you.