Manually Restore WordPress Site From Backup (Database, Files & Folders) | WP Learning Lab

mohammedimran , uk – website been hacked and down – i have paid over $250.00 for a vps account and my website has been hacked. they said to me i have to clean the with clamav some virus software. when i did install it in my whm the icon was not visable in my cpanel under advance. they then said to me “I am sorry but we have already given the instructions on how to set up and configure clamav. We do not support clamav beyond that, and you will need to figure out the rest.” when it says in my whm it is installed. i trusted #Justhost because i thought my website and hosting is safe and secure, they then said u should of bought some security crap.

Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist:

Manually Restore WordPress Site From Backup (Database, Files & Folders)

Exclusive for WPLearningLab viewers, up to 50% off hosting:

Download our exclusive 10-Point WP Hardening Checklist:

In this tutorial I’m going to show you how to manually restore your WordPress site from a backup. We will restore the database, files and folders.

The free versions of a lot of WordPress backup plugins don’t have an automatic restore function so if you need to restore your website you have to do it manually.

First let’s upload your WordPress website files and folders. Log into your hosting cPanel account and click on File Manager. Open the root of the WordPress website you’re restoring.

Once you’re in the root upload the ZIP file that contains all your WordPress site files and folders. Once uploaded select all the files in your website root, except for the ZIP, and delete them.

Now click on the ZIP file and click on Extract. That will place all the site files in the root directory.

Now let’s restore WordPress database.

Go back into your hosting account cPanel and open the PHPMyAdmin app.

When it loads find your database name in the left hand column and click on it. All of the tables should load in the middle pane. Check the box to the left of all the tables to select them and then scroll to the bottom of the page.

From the drop down select Drop and then click on Go and then Yes on the next page. This will delete your entire WordPress website database.

Now click on the Import tab at the top. Click on the Browse button and find your .sql backup file and click on Open. Then click on Go and your database will be uploaded.

That’s all there is to restoring WordPress and restore WP database.. I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.


If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.

WordPress Tutorials

Connect with us:

WP Learning Lab Channel:



Google Plus:


WordPress Tutorials – WPLearningLab

  • Syed Zaidi
    Posted at 11:14h, 18 May

    Can't find the link where you have created the backup..

  • Growth of Mamun
    Posted at 11:55h, 19 June

    Thanks bri

  • Growth of Mamun
    Posted at 11:55h, 19 June


  • barrettokarate
    Posted at 18:48h, 01 July

    I was building a wordpress site on my localhost and would periodically back it up to an external hard drive. I recently updated to a more recent version of XAMPP. I created a new database for my site using the same info as before and pasted a copy of my site's entire folder from its last backup into the htdocs folder. But when I login to my dashboard nothing is there except my plugins and of course when I type in the URL I get the "Hello World" page. Should I attempt to do what's in the video or is there another way?

  • Dempsey Blackmon
    Posted at 23:18h, 01 July

    I made the mistake of importing data to my WordPress. Now I can't change the homepage. I got the Jetpack Backup software only after I made this mistake should I delete my whole website and start over? Make a new website?

  • Tony Sheppard
    Posted at 16:17h, 10 July

    Thanks very much for this, It helped me a lot in restoring my website! Just what I wanted.

    Posted at 11:28h, 11 July

    thanks sir Thank you very much

  • Shirley Aipoh
    Posted at 11:49h, 21 July

    2020 and its still helpful. thank you Bjorn

  • Harjot Singh
    Posted at 21:35h, 22 August

    I got my website back without the theme pages I made with brizy. Can somebody help?

  • 3D klasė
    Posted at 15:52h, 27 August

    Thank you, helped a lot

  • Agangu
    Posted at 16:41h, 28 September

    All thanks to m_tool1 on iñstagràm who got my web back

  • Agangu
    Posted at 16:42h, 28 September

    I recommend m_tool1 on Iñstagràm who did mine

  • Hiba Al
    Posted at 17:30h, 08 October

    Hello Thanks for your tutorials…in my work want from me to add some thing like snapADDY imprint crawler in our WordPress site ….so is there any ideas how to do that please I would be appreciate…

  • rmcellig
    Posted at 09:14h, 11 October

    This is so easy. I hate using plugins!! Thanks!!!😀

    Posted at 12:09h, 17 January

    I have all my WordPress code but don't have backup of db. Can I restore the project

  • James Samples
    Posted at 19:49h, 23 January

    2021 and it's still helpful. Thank you, Bjorn.

  • Richard Patrick
    Posted at 23:48h, 11 February

    spy_tools09 on IG is the best

  • tenderfoot
    Posted at 09:14h, 06 April

    delete my website???? omg this makes me so nervous

  • Emmanuel Phillip
    Posted at 09:18h, 09 April

    Great job… Thanks

  • Technical IC
    Posted at 14:06h, 22 April

    database is deleted but i have sql database file and all file manager files

  • Good Best
    Posted at 17:28h, 04 May

    Thank you won’t be enough for what you’ve done for me KELLYYTOOLZSZ on IG. But, let me try a little. Thanks a lot for your support!..

  • Good Best
    Posted at 17:28h, 04 May

    Thank you won’t be enough for what you’ve done for me KELLYYTOOLZSZ on IG. But, let me try a little. Thanks a lot for your support!..