Taking backups of your WooCommerce site is no longer a back-breaking, time-consuming, manual affair. With the availability of automated backup plugins like BlogVault, it’s now incredibly easy and fast to take backups of your WooCommerce site. However, taking a backup is just one step in the process of securing your website. You should also be able to restore the site quickly, and without much of a sweat, if you want to have it up and running. Therefore, you need to learn how to restore WooCommerce store from backups.
Why You Will Need To Restore Your WooCommerce Site?
Your WooCommerce online store already has a lot of customer information, which keeps getting updated every now and then. In case, the website malfunctions, all this valuable data could get lost and bring your business to a halt!
But, wait you have a backup you say! Then all you need to do is restore your backup and resume services quickly. Here are some situations where the restore function will come in handy (given that you have taken timely backups):
1. Installing New Themes and Plugins
WooCommerce extensively relies on themes and plugins that can be added for a variety of functions. At times, ill-maintained or poorly coded products can cause your website to crash. What’s worse is that there can also be compatibility issues and a single element could tear down your entire WooCommerce business. If that ever happens to you, you can simply perform a restore and get back to your previous functional site.
2. Updates and Changes in your Site
Did you or your team member just make some changes on the fly, only to notice the dreaded white screen of death? It happens. Accidental human errors can lead to a site crash. The same goes with major updates. If your WooCommerce store crashes, it is like your retail outlet shutting down all of a sudden. The consequence – You lose customers!
Having a fresh backup means you can restore and get back on track quickly without causing any inconvenience to your customers. You will not lose sales due to downtime.
3. Malware and other Malicious Activity
Backups serve as health insurance for your WooCommerce site. No matter what happens to your site, whether a hacker decides to strike your site or your site is infected with malware, you are still safe. One quick restore and you are back to where you left off!
Restoring WooCommerce Requires Real-Time Backups
Without a backup, you won’t have anything to restore. A proper WooCommerce backup should include all the elements that make up your site. This includes your website files, images, plugins, themes and the latest copy of your database.
It is vital to always have a fresh backup of the database including incoming new customer registrations, new orders and other transactions. You don’t want to restore your site and end up with some old content dating back to a few months ago.
That is why it becomes important to have an automated backup plugin that keeps track of real-time changes in your database and site. This way you are sure never to lose valuable customer information and other details.
BlogVault offers an automated incremental backup that keeps track of all the changes in your site. Plus, it also provides trigger-based real-time backups that monitor your database every five minutes for new records. All this means that BlogVault will help you easily restore and roll back to the latest version of your site without any loss of data.
How to Restore your WooCommerce Site?
Restoring WooCommerce Manually
Manually restoring a WooCommerce website is risky business. You need to be well-versed with technical nuances. Even one wrong move can collapse your entire site since you will be meddling with the fundamental components of your site.
What Do You Require for a Manual Restoration?
The following components need to be kept handy to restore your site manually:
- Files and Database – Firstly, you need a safe and reliable backup of two essential components of your site. A copy of both needs to be saved separately and you should be able to access it readily to make your manual restoration successful.
- Install WordPress – Another important point before you proceed to restore your site manually is to ensure that you have installed a fresh version of WordPress with its latest updates. This enables you to start your work from scratch in case your site is hacked or you don’t have the latest version.
- FTP Credentials – If you don’t have them, contact your WordPress hosting provider so that you can establish a connection between your local system and the server. You web host should help you with that.
Restoring all the files and database of your site involves the following two steps:
1. Restore from Backups Using phpMyAdmin or Cpanel
First and foremost, install phpMyAdmin in your system by downloading it or use your woocommerce hosting services’ pre-installed control panel. Login to your account with your credentials and access the database. If your site has been hacked, it’s recommended to delete your existing infected database so that you can start clean.
But first, ensure that you have a backup your database before you proceed. Select the database from the left side section, Click on check all tables and delete them.
Next, you can select the database in which you want to restore your data. On the top of the screen, Click the Import tab where you can browse and select your database. Select the SQL format and click on the Go button. This a time-consuming process, so you need to wait a while before your database is restored.
2. Restore WooCommerce Files from Backup Using FTP
Install an FTP client like FileZilla. Enter your FTP credentials and click on Quick Connect to connect to the server. Once you are connected you will be able to view your local files on the left and the remote site on the right.
Firstly, identify the WordPress files in the remote site. It is usually under the root directory of public.html or you can look for folders in the name of wp-includes, wp-content, wp-admin, wp-config.php file, etc.
Ensure that the backup files are saved in the local system. Click on the WordPress folder on the right panel. Then click on the backup folder in the left panel to see all the backed up files and folders in the local system.
To restore the backup to the live site, drag and drop all the files from the left panel to the WordPress folder in the right panel. You need to be well-versed with your backup files and drop it in the right folder in your WordPress folder.
Also, be aware that this again can take a lot of time. For instance, a 700 MB site will take just a few minutes to restore database, but will take a minimum of one hour to restore the files. Not only does it take more time, but it is also risky. If you miss any crucial file or folders when uploading, your site will be unable to function.
Restoring WooCommerce Using A Plugin
On the other hand, restoring your WooCommerce backups using a plugin is a simple process. Below are the steps to restore your WooCommerce site with a single-click using BlogVault:
Go to the BlogVault website and sign in (or sign up) using your credentials. On the site listing page, select the website of your choice. Go to Show All Backups in the Backup section. Here, you will be able to view all the backup versions. Simply select the version and click on Auto Restore. Then, you would have to enter your FTP details and credentials. Click on continue to select the location where WordPress is installed.
The next step is to choose what to restore back to your WooCommerce site. You can select details, enter your database credentials and choose from other advanced options. Click continue and you are done with your restore. Auto Restore continues in the background and you can be back in business in a jiffy.
Another prudent function that you can perform with BlogVault with ease is to test the restore function to see if all is working well. Then you can go live and auto restore your backup. Now, that’s what we call a smart move!
Over to You
Given that you’re running a WooCommerce site, time is money! So downtime needs to be avoided at all costs! So knowing how to quickly restore your backup is crucial. We suggest using BlogVault because it’s reliable, easy to use, and you can be sure your site is back up in no time! If all the above options are too complicated to manage, you could also try out a WordPress Maintenance Service that could handle it all for you.