Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)
Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)
Do you need to protect your online store with a WooCommerce backup?
If you don’t regularly save your WooCommerce products, orders, and customer logs, they could be gone in an instant. Fortunately, you can easily back up your WooCommerce store and avoid any data loss.
In this tutorial, we’ll show you how to create a WooCommerce backup!
WooCommerce is an e-commerce WordPress plugin that makes it easy to create your first online store. As the years go on, you’ll add new products, register new customers, get new orders, add discounts, and make other important changes.
Without a good backup strategy, this data is at risk.
In a backup, you’ll save copies of all your files and database information. If you back up your WordPress site regularly, you can always restore a functional backup if anything goes wrong.
Without backups, you may expose your e-commerce business to unnecessary risks like data loss, security breaches, and prolonged downtime. This can negatively affect your online presence and revenue.
Here are the main benefits of WooCommerce backups.
Your WooCommerce store contains a lot of valuable data, including product listings, customer information, and sales records. Regular backups act as a safety net, allowing you to recover lost data and minimize downtime.
E-commerce websites are attractive targets for hackers who want to steal sensitive customer information or disrupt business operations.
With a backup, you can roll back to a version of your site that’s free from vulnerabilities and implement necessary security measures.
WooCommerce receives regular updates to enhance functionality, patch security vulnerabilities, and improve performance. Occasionally, these updates may conflict with your existing setup or cause unexpected issues.
By backing up your store, you can safely test updates and new configurations without risking your current setup.
Now that you know why WooCommerce backups are so important, let’s explain how to create one!
As a business owner, you’ll want to find a fast and reliable way to back up your WooCommerce store.
Often, the best option is to use a WordPress backup plugin. The right tool will make it easy to automate backups and restore them whenever you need to.
For this tutorial, we’ll use Duplicator Pro to back up a WooCommerce store. This plugin can back up WordPress websites as big as 400GB, making it the perfect tool to protect your e-commerce store!
Here are some features that make Duplicator the best WordPress backup/restore plugin:
If you want to back up your WooCommerce site for free, Duplicator Lite is a good basic backup tool. However, Duplicator Pro extends the free version with extra features like cloud storage, scheduled backups, and large site support.
To start using Duplicator Pro, purchase a subscription and save your license key. Then, install and activate it in WordPress.
Now, find Duplicator Pro » Settings » General in your WordPress dashboard. Paste the license key that you copied earlier.
Hit Activate to unlock all of Duplicator’s backup features.
Now you can create your first WooCommerce backup! To do this, head over to Duplicator Pro » Backups » Add New.
First, name your backup. You can use dynamic tags to create a template backup name.
Next, choose a storage location. Your WooCommerce backups will automatically be stored on the local server, but you can also send them to third-party cloud storage for extra protection.
Here are all of the different remote storage options Duplicator supports:
Then, you can decide what data to include in the site backup. Expand the Backup section and select all of the components you want to save.
In most cases, you’ll want to create complete backups so you can easily restore your entire WooCommerce site.
However, there are times when you might want to save just your database files, media library, or other custom data. By simply checking and unchecking certain components, you can create custom backups like database backups, media-only backups, or file backups.
Once you customize the archive file, hit Next. Duplicator will scan your WooCommerce site.
Review any notices, and then continue building the backup. After your site is backed up, you can download the files on the Backups page.
If you used local storage, be sure to download both of the backup files. This moves your backup to your computer, ensuring you can restore your site even if it goes down.
Have you ever thought that your list of WordPress maintenance tasks would never end? To make backups much more convenient, consider setting up automated backups.
With Duplicator, you can schedule a time when you want your WooCommerce site backed up.
When you don’t have to worry about saving backups every day or week, you’ll have more time to optimize other areas of your business.
To get started, navigate to Duplicator Pro » Schedule Backups » Add New.
Name the automatic backup schedule. If you want to save a full backup every time, choose the Default backup template. However, you can also create a new template that only backs up certain parts of your website.
Then, select a storage location. You’ll see all of the cloud storage locations you’ve added to your site.
Next, decide when you want your WooCommerce store backed up. Duplicator supports monthly, weekly, hourly, and daily backups.
You’ll also need to set a Start Time. To finish, enable the schedule and save it.
By now, you’ll have an effective backup strategy in place. However, if you can’t recover backups easily, you may lose your WooCommerce store forever.
Fortunately, Duplicator makes it easy to restore WordPress backups. You’ll simply have to choose one of your existing backups and hit Restore.
You can also restore your site even if it experiences a catastrophic error. Before this happens, find an error-free WooCommerce backup and click on the disaster recovery icon.
In the pop-up, hit Set Disaster Recovery.
After this, copy the recovery link or download the launcher file.
Either of these options will launch the recovery wizard even if you’re locked out of your WordPress dashboard!
Many WordPress hosting companies provide built-in backup services. For example, Bluehost users can sign into their control panel and open cPanel. Under Files, click Backup.
Then, you’ll see different options for backing up your WooCommerce site. For a full backup, you’ll need both your WordPress files and database. First, download your home directory, which contains all your files.
You can also download your WooCommerce database by clicking on your database name.
This will give you a full copy of your entire site. If you need to roll back your site, upload these files to the restore options on this same page.
If you’re using a different web host, you’ll have to find its backup features. Sometimes, this is an add-on or only available in higher-tier hosting plans. Alternatively, you may have to use a backup plugin or manually download backups.
If you’re used to editing your site files or database, you may be comfortable manually backing up your WooCommerce site. However, keep in mind that this backup process leaves room for more human error. Plus, it’s more time-consuming.
To create a manual backup, start by connecting to your WordPress files with an FTP client like FileZilla. Open your public_html directory, select all of its files, and download them.
Next, you’ll need a database manager so that you can download your MySQL database. In this tutorial, we’ll use phpMyAdmin.
After you sign in, select your WooCommerce database name and hit Export.
For the Format, choose SQL. To start the database backup, click Go.
This will give you copies of your WooCommerce site’s files and database. If there is a critical error, you can import these backups back to your server, overwriting the corrupted data.
You can back up your WooCommerce site using a backup plugin like Duplicator Pro. This is a powerful but beginner-friendly tool that supports automatic backups, cloud storage, and even large site migrations.
Alternatives: Other WooCommerce plugins for backups include UpdraftPlus, BlogVault, BackupBuddy, and Jetpack. You can also use your web hosting provider’s built-in backup solution or back up your WooCommerce site manually.
You can restore products in WooCommerce by restoring a backup. Using the Duplicator plugin, find a backup with the products you want to restore and set this as the recovery point. Then, use the recovery URL to restore this backup.
You can export everything from your WooCommerce store by creating a full backup with Duplicator Pro. First, build a backup and make sure all components are included in the archive file. Then, you can export this backup.
To migrate your WooCommerce website, use Duplicator to fully back up your site. Then, set up the second website on the new hosting provider or domain name. Install Duplicator Pro on the new site and drag and drop the backup into it. This will launch the step-by-step migration wizard.
For more details, check out our guide on WooCommerce migration!
Now you have everything you need to back up your WooCommerce store correctly!
Here are some extra WordPress tips and tricks to get the most out of your website:
Do you want to back up your WooCommerce store without any hassle? Download Duplicator Pro to set up automatic backups!
Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.