Do you want to know how to restore WordPress from Backup? If yes, you are in the right place. We need to take backups of our websites to make sure that we get our website back if anything wrong happens due to the maintenance or development of the website or any cyber attack like hacking. However, though you do not need to be an expert web developer to restore WordPress site to the previous date, it is no piece of cake for beginners. In this post, we are going to explain the restoring process from backup step by step so that you can get your website back after any kind of mishap. Let’s begin:
How does Backup and Restoring WordPress Work
There is not just a single way to create a backup of your WordPress website. You can choose from a variety of options when it comes to backup and restoring your WordPress database. However, of all the ways, the easiest way to backup your data is by a dedicated WordPress backup plugin.
There is also a manual way available where you can create a manual backup of your data and download the required WordPress files with the FTP.
The restoring process of the backup data depends on the way you choose for the data backup. If you use WordPress plugins like UpdraftPlus or BackupBuddy, you can restore your database by using them. Likewise, if you have taken a manual backup of your database, you have to restore the database with the same manual process you have adopted to backup.
In the coming sections, we are going to explain the restoring process of your WordPress database from the backup manually and with the help of the UpdraftPlus plugin as well.
Manual Restoring Process 1: How do I restore a WordPress site from a backup by PHPMyAdmin
With PHPMyAdmin, you can restore your WordPress data using one of two options. You can choose to create a completely new database and then import your data backups into it, or you can clear the existing database to replace it with the imported backup.
Note that, if you have got your website hacked, it is important to make sure that you have changed your MySQL username and password before you go for the restoring process.
To create a new database, go to the dashboard of your cPanel. There you will see an icon named ‘MySQL Databases’. Click on the icon to proceed on.
Now, you have to create a name for your database. When you are done, click on the ‘Create Database’.
What you need next is to add a MySQL user that you need to associate with the newly created database. To add a new user, scroll down straight to the MySQL users section. Make sure that you have a strong password strength.
After creating the new MySQL user, you have to add this new user to the MySQL database. Go to the ‘Add user to database’ menu from below to choose the user and the database from the drop-down menu. Once you are done, click on the ‘Add’ button.
Congratulations! The database you have just created is now completely ready to be used for restoring your WordPress database backup.
Go to your cPanel and click on ‘phpMyAdmin’ from the dashboard. Find the new database and click on it. Next, click on the ‘import’ button to initiate the import process.
When you click on the ‘import’ button, you will see a menu below with the ‘file to import’ section. Now you need to upload the database backup file from the storage you have saved it. You do not need to change anything in the ‘Character set of the file’ below. It is set as utf-8 by default. Scroll below the page and click on ‘Go’ to initiate the restoring process of your backup database.
Once the restoring of the data is finished, you will see a confirmation message. Now, if you do not have WordPress installed, install it first with the new database. However, if you have already installed WordPress, you have to manually add the new database settings into the wp-config.php file and that’s how to restore the website from backup by Cpanel.
Restoring Process 2: How do I import a backup file into WordPress with UpdraftPlus plugin
UpdraftPlus is a widely used plugin on WordPress to backup and restores the WordPress database.
Take the complete backup of your WordPress website with UpdraftPlus first. Once the backup files are created, download the backup data to your computer.
Now, connect with an FTP client and delete all the WordPress files. Install WordPress once again and log in.
Search the ‘UpdraftPlus’ plugin on WordPress. Install and activate the plugin for your website. Once the activation is completed, go to Settings>.UpdraftPlus Backups page. Now you will see a button to restore the backup. Click on that.
- Real Estate4 weeks ago
10 Must-Have Elements To Create A Pinterest-Worthy Modern Rustic Home Design
- Lifestyle2 years ago
11 Guilt-Free Ways To Enjoy Italian Food When You’re Trying To Lose Weight
- Technology2 years ago
Finternet of Things: How the IoT Transforms the Banking Industry
- Marketing2 years ago
10 Winning Digital Marketing Tactics for Restaurants and Food Businesses
- Business2 years ago
Building A Positive Reputation For Your Business Startup
- Marketing2 years ago
7 Digital Marketing Trends to Look out for in 2020
- Health2 years ago
10 Healing Properties of Onion
- Spotlight2 years ago
Jay Awal says Chase The Vision, Not The Money // MxM The Movement