Connect with us

Education

How to Restore WordPress from Backup

akaeidal akib

Published

on

How to Restore WordPress from Backup

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

How to Restore WordPress from Backup

 

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.

 

Suggested Article

15 Benefits of Using WordPress Platform

WordPress Platform

 

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

How to Restore WordPress from Backup

 

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.

 

 

Read more on Education related stories in The Weekly Trends magazine.

I am very passionate about SEO and digital marketing. I am always up to date with the latest and most advanced SEO strategies.

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published.

Support Us!

Write for Us

The Weekly Trends

The Weekly Trends

Facebook

Trending