Please don’t risk your WordPress data, whereas all you need is adequate security to it. If you’re one among them facing your site’s troubles, then the one and easiest solution is to restore WordPress. Backup your sensitive data regularly and is essential. So, here are the steps to know how to restore a website backup to follow.
When things go wrong, there are different ways to fix it and like this, if you face any issue with your website, restoring WordPress is the right path to get out of any problem. To restore website backup the below-mentioned list processed steps are comfortable to follow up.
How to Restore a Full Website Backup for WordPress Sites
Here is a stepwise process to help you restore your WordPress website if there happens to be any malware affecting your site.
Pick a Backup Method to Restore Your WordPress Site
If you’re looking to backup your data, then there are various ways to proceed with it and multiple ways to backup and restore WordPress sites. The simplest and easiest method to use specific plugins for WordPress with a touch button, which will take care of backup, is off-site. The plugins are available for free of cost, and some of them offer premium prices as they are the top ones.
You can manually backup WordPress and restore as it the other method to restore a website backup. It is free of cost but a very tedious and difficult method to maintain records with hands. But the data is a hundred percent safe and secure whereas you can backup the unlimited data.
Navigate through Admin Tools for cPanel Backups
Restoring a WordPress site is the first step to backup your data. Follow the specific plugin instructions that offer us based on the service/ plugin you’re using go for a data backup procedure. Can do the data backup of WP manually too and you have to reckon two core components database and the site files.
In cPanel Manager, all the site files are available, and in phpMyAdmin of your host, the database files exist here. cPanel is the most common server used globally, and in this guide, will be used. If your server is using a different platform, you have to navigate around for similar applications.
Create a folder in your backup location, add the site name, date of the backup, and then create two subfolders. These two subfolders are to be named as databases and site files.
Navigating phpMyAdmin to Restore Your Database
Login to the admin UI to start your restoring process from your server. Give all your credentials or else provided by the organization team to continue the backup process. In the next step, check the databases option and give a click to reveal four database options. To scan your interface, select phpMyAdmin, and from here on the left-hand side, you’ll see all the databases.
Backup your SQL Database
Select the exact name for your database, and at the right-hand side, tabs look and then click on the Export option. In the Export option, you can see various options, if you want to restore WordPress from backup, and then follow the three simple export options. Click Quick in Export Method, Choose SQL in format, and Press the Go button. After completing this export process, you’ll receive a file with a .sql extension and copy it to a database subfolder that you created before in the Navigate through Admin Tools step.
Backup your WordPress Site Files Manually
Exporting your site data from your backup creation process is the second part and restores your WordPress site information. If you’re using the cPanel server, you have to go to your dashboard and click on the files drop-down. Then you’re supposed to go to File Manager, on the left side in this panel you can see your site folders, and on the right interface the data inside each folder.
On the right side interface, you can see a file with the name “public_html”. If this file does not appear on the right interface, then browse the folders to find it. Once the file appears, click on it and click on the “COMPRESS” at the top left corner.
A pop-up will display on the screen with various options, once you click on a compress. Select Zip Archive file and rename it and then have to click the button of compress files. After completing compression files, click on the Zip files, and in the top menu click on the download option. Delete the generated Zip file, once the download was completed. This entire file is moved to the WordPress backup and kept in the database subfolder.
Running your FTP software for WordPress Backup and Restore
While exporting the files, if you want to keep your website live, you have to use FTP. To interact your website to the customers, you have to allow a file transfer protocol or FTP to your operating system.
FileZilla is one of the most popular FTP clients, and you have to download and install this software to your operating system. To live site, connect your computer to it and then go to the cPanel interface. On the files tab, find the FTP accounts option.
To login into FTP, copy your credentials and paste them into it. If you don’t have any login credentials, immediately contact the service provider to get your login credentials. Open the Filezilla application, and you have to familiarize yourself within the position of the windows. On your computer, you can see local folders on the left side, and at the right side is a remote site that shows you the content of the service that connects to you.
The other files to restore WordPress from the backup are to click on the root folder and look into “public_html”.
Copy Site Files to Local Computer
Now, navigate the public-HTML folder on the remote site list to backup your WordPress site files. Navigate your computer on the left for the local folders and select where you want to copy the file on your system.
Run the transfer process and wait until the entire process to complete. After the transfer process is completed, make sure that the folder is available on your computer.
Restore WordPress from Backup
Now, you’re done with the backup process and get ready to restore WordPress backup files. It is always the best method to delete all the files when your site gets hacked.
At first, you have to restore the database and then go with the files. Use the cPanel phpMyAdmin server for the entire process to complete. To restore databases, the first login to cPanel by proving all the credentials to login into it. Now, click the phpMyAdmin option in the database section.
On the left-hand side, pick the folder of the database file to restore WordPress from backup. Select the import option on the upper right-side tabs. Compress the .sql file into zip file if the data is too big and the format is [filename] [format] [compression].
After the import process, browse your computer & select the file, then from your backup location, upload the .sql file. And after the upload receives the message and will be displayed on the screen after the upload process is completed. So, from this, you have to understand that half of the WordPress backup and restore is done.
Restore WordPress Backup site Files
Using FTP or cPanel File Manager, you have to work on restoring your site files. Select File Manager, if you decide to work on cPanel Manager. On the top menu, select the import option and pick the zip file that appears on the pop-up menu. As it has the content of WordPress files and opens it. The upload window will notify you how much time it will take to finish the upload of the file and the high-speed of the uploading process completely depends on the internet connection you have.
Restoring Process
Once the upload process is complete, you have to click on the Zip file and select extract. It will extract all your data that you are supposed to backup, and from here, everything is clear. If you choose FTP, download and install Filezilla and get a Zip file and extract it.
Refresh your site, and now you can visit your site. The whole restoring process is completed.
Usually, it is a quite simple process to restore WordPress backup files, and if you don’t follow the steps exactly then you may face issues. Some of the typical troubles that users are faced during restoring WordPress backup files are error establishing database connection, internal server error, white screen of death, err connection timed out, error too many redirects, and import/export users.
Don’t worry, you have different backup options and can easily proceed with them with a single tap. Even if your site gets hacked or causes any attack, you can follow the instructions and maintain more security to your data.