How to Restore WordPress From a Backup (In Less Than 5 Minutes)
John Turner
John Turner
One morning, you try to log into your WordPress site, only to find it completely gone.
But then you remember you have a backup!
With the right tools and knowledge, you can restore your site back to a point when everything was working perfectly. No more mysterious errors.
In this tutorial, I’ll show you how to restore your WordPress site from a backup. By the end, you’ll have the confidence to handle any situation that comes your way.
Here are the key takeaways:
- The fastest way to restore WordPress is using a one-click restore button with a backup plugin like Duplicator Pro
- You can restore your site even when locked out of your dashboard by setting up disaster recovery beforehand
- Manual restoration gives you full control but requires uploading both your database and WordPress files separately
- Schedule automatic backups and store them in the cloud to ensure you always have a recent restore point
- Test your restoration process on a staging site before you actually need it in an emergency
Quick Summary: How to Restore WordPress From a Backup
If you don’t want to read the full post, watch this short video. It’ll walk you through backup restoration in less than 10 minutes!
Table of Contents
Why Restore WordPress From a Backup?
After you start your first website, it’s important to create backups regularly. A website backup is a saved copy of your WordPress database and files.
A backup acts as a safety net when something goes wrong. If you see an unexpected change or error, you can simply restore one of your saved site backups.
Here are some reasons why you might need to restore your website from a backup:
- Hacks or cyber attacks
- Plugin or theme conflicts
- Coding errors
- Unsuccessful software updates
For example, your live site might display the White Screen of Death (WSOD). If you want to restore your WordPress theme, you’ll need to find a backup where it’s functioning correctly. Once you restore this version, your website will be back up and running.
Essentially, site restore options can prevent you from troubleshooting unexpected errors. You can go to a recent site backup, restore it, and immediately solve the problem.
How to Restore WordPress From a Backup
To make sure you don’t lose important website files, you’ll want to have a recovery plan. Don’t worry, I’ll walk you through restoring WordPress from a backup!
Here are the best WordPress restoration methods:
- One-click restores with a backup plugin like Duplicator
- Emergency disaster recovery when you’re locked out of your dashboard
- Manual restoration for hands-on control
- cPanel backup restoration with the hosting control panel
Method 1: Restore WordPress With One Click
One simple way to back up and restore your website is to install a WordPress backup plugin. This prevents you from having to manually edit your site files or database.
Duplicator is a flexible plugin for making database and file backups. You can use it to schedule backups and restore your site with just one click.

Along with backup and restore options, here are some more helpful features available in Duplicator Pro:
- Drag-and-drop migrations
- Step-by-step migration wizard
- Streamlined installer
- Built-in cloud storage to Duplicator Cloud
- Custom search and replace
- Supports large sites and multisite networks
- Supports managed WordPress hosting
- Developer-friendly features
- Email alerts
- And more!
Step 1: Install Duplicator Pro
To start restoring your site, select a subscription for Duplicator Pro. This will include support for one-click restores and disaster recovery. Once you check out, download the plugin.
Next, install and activate Duplicator in WordPress.
Before you start using the plugin, go to Duplicator Pro » Settings » General. Paste the license key you received during registration.

Then, click on the Activate button.
Step 2: Create a Backup
After you activate Duplicator, you can create your first backup.
This will save a copy of your site in a zip file. It includes your core WordPress files and MySQL database for easy restoration later.
First, build a new backup by navigating to Duplicator Pro » Backups » Add New.

At the top of the page, give the backup an identifiable name. You can use dynamic tags, which help you easily find the right backup when you need it.

Next, choose a storage location. Duplicator supports all of these options:
- Duplicator Cloud
- Local
- FTP
- Google Drive
- Dropbox
- Microsoft OneDrive
- Amazon S3
- Wasabi
- Google Cloud
- DreamObjects
- Vultr
- DigitalOcean Spaces
- Cloudflare R2
- Backblaze B2
- Other S3-compatible storage services

I always recommend creating a full backup of your entire website.
However, you can also use the one-click restore button to roll back your database or other parts of your site. So, feel free to customize the backup.

Once you continue to the next step, Duplicator will scan your website. Review any notices before hitting Create Backup.

Duplicator will automatically start performing a file and database backup.
Step 3: Use the One-Click Restore Button
Now that you have a backup of your website, you can restore it whenever you need to. Your website will revert back to these saved files and database settings, removing any errors.
Some WordPress backup plugins make it difficult to restore your website. Not Duplicator!
First, find the backup you want to restore. Click on the Restore button next to it.

You can even restore cloud backups in one click! Duplicator will download the backup to your local server.

Then, it’ll automatically open the restoration wizard. Accept the terms and notices before hitting Restore Backup.

Duplicator will instantly roll back your site to its previous state. Use the Admin Login button to access your error-free site.


With one-click restores, you’ll have full control over your website. You can test new code, adjust your theme, and make other changes without worrying about losing any data.
Quick Summary of How to Restore WordPress with One Click:
- Purchase a Duplicator Pro license and install the plugin.
- Create a full backup of your site.
- Use the one-click restore button on the Backups page.
- Follow the instructions in the recovery wizard.
- Log back into your restored website.
Method 2: Set Up a Disaster Recovery Plan
Sometimes, an error will lock you out of your WordPress dashboard. In this case, you won’t be able to use Duplicator’s one-click restore button.
Don’t worry, you can still restore your site!
By setting a backup as the disaster recovery point, you’ll launch the recovery wizard without needing to log in.
Step 1: Back Up Your Site
As a first step, back up your WordPress site. To use the disaster recovery feature, be sure to save the backup to local storage. Don’t exclude any core WordPress files or database tables.
Once you create a full backup, you can use it to recover your data if your site ever goes down!
Step 2: Set Disaster Recovery
Before you experience a WordPress error or hack, make your newest backup the disaster recovery point. Next to the backup, click on the blue house icon.

In the pop-up, hit Set Disaster Recovery.

Duplicator will then give you two different ways to restore your backup. You can either copy the recovery link or download the launcher.

Copy the recovery link and save it in a safe location, separate from your WordPress site. You can also download the launcher, which is an HTML file that launches the recovery wizard.
Step 3: Launch the Recovery Wizard
If your site goes down, find your recovery link. Open a new browser window and paste the URL.
This will let you recover your data without a functional site.

You can also open the launcher file. It will immediately start the recovery process.
Accept the terms and notices and click Restore Backup. You’ll have to confirm the installation since it will modify your current site.
Duplicator will take a few minutes to revert to your backup. When it’s finished, you can access your restored website! To do this, simply click on the WordPress Admin Login button.
Quick Summary of How to Set Up a WordPress Disaster Recovery Plan:
- Create a full backup with Duplicator Pro and save it to local storage.
- Set the backup as the disaster recovery point.
- Save the recovery link in a safe location, away from your dashboard.
- Paste the recovery link into a browser window to launch the recovery wizard.
- Follow the recovery steps and log back into your restored site.
Method 3: Manually Restoring WordPress From a Backup
If you’re trying to limit your plugin use, you can manually restore your backup files. However, you’ll need to have some experience with your WordPress files and database.
Before you get started, you’ll need to do a manual backup of your database and site files. Once you have these files on your local computer, you can re-upload them to WordPress.
Step 1: Import Your Database
During a manual restoration, you’ll have to re-upload both your saved database and WordPress files. Let’s start by importing an error-free copy of the database.
Usually, your web hosting provider will allow you to log in to phpMyAdmin through your control panel. Alternatively, it may provide an easier way to manage your databases.
If you’re using cPanel, for example, find the MySQL Databases button.

Next, create a new database. This will be the location where you upload your saved database.

After this, add a new MySQL user. Be sure to pick a new username and password, especially after hacks or cyber attacks.

Now, find Add User to Database. Here, select the user and database you just created.

Once you have a new database and user, go back to your WordPress hosting account. You’ll need to find the phpMyAdmin login button.

This will open your database manager. Select your new database name and click on Import.

Under the File to import section, click on Choose File and upload your saved database file. It should be in a zipped SQL file.

Once you hit Go, your database will be restored! As a final step, open your wp-config.php file and find your database information.

You’ll need to update the database name, user, and login credentials to point to the new database.
Step 2: Upload Your Backup WordPress Files
To get your site up and running again, it’ll also need functioning WordPress files.
Once you have a backup saved, open a File Manager or File Transfer Protocol (FTP) client. Usually, your host will have a preferred method for managing site files.
For this tutorial, I’ll use FileZilla, which is a free SFTP/FTP client. First, connect to your website using your host’s name, username, password, and port.

You’ll know your site connects when you see data in the Remote site box. Here, open the public_html folder. Select all of the files, right-click on them, and hit Delete.

Now you can simply drag and drop your saved backup files from your local computer to the public_html folder. If they upload properly, FileZilla will label it a Successful transfer.
Quick Summary of How to Manually Restore WordPress From a Backup:
- Create a new database and database user.
- Log into phpMyAdmin and import your saved database into the new database.
- Use an FTP client or cPanel to delete your existing site files.
- Import your saved backup files.
Method 4: Restoring WordPress With cPanel
If your web host provides cPanel, this has an easy way to restore WordPress. All you’ll need to do is find the Files section and hit Backup.

If you downloaded a copy of your home directory with cPanel, you can upload this file under Restore a Home Directory Backup.

To restore your database, upload a backup to the Restore a MySQL Database Backup option.
After you upload both of these site components, you’ll fully restore your WordPress website!
Quick Summary of How to Restore WordPress with cPanel:
- Access the cPanel backup section in your hosting account.
- Restore a home directory backup to recover your WordPress files.
- Upload a MySQL database backup to recover your database.
Backup Tips For Quick Restorations
Maybe this time you ran into issues restoring your WordPress site. If you couldn’t find a backup, you likely had to dive into the Wayback Machine and regenerate your files by hand.
Here are my top tips for avoiding restoration problems in the future!
Schedule Automatic Backups
If you only create manual backups, you’ll forget to regularly back up your site. There’s a good chance you won’t have the right backup when you need one.
You should always set up scheduled backups. With a plugin like Duplicator, you can automatically save copies of your site every hour, day, week, or month.

Feel free to customize your backup schedules for different parts of your site.
If you run a WooCommerce store, I’d recommend backing up your database daily. This prevents you from losing any new customer or order data.

Store Backups in the Cloud
Most backup plugins will automatically save your backups on your website’s server. If your server glitches or completely goes down, you might not have any backups to restore.
It’s always a good idea to save your site backups in the cloud. Your data will be safe and accessible in storage services like Google Drive or Amazon S3.
Duplicator has very flexible options when it comes to cloud backups. It connects to over 10 different third-party storage services, plus its in-house Duplicator Cloud.
As you create automatic backups, you can choose where your data is saved. This ensures your backups are safe in the cloud every time you need them.

Test Your Restoration Tools
You won’t want to find out your backup/restore plugin doesn’t work right after your site goes down. Before anything goes wrong, it’s important to do a test restoration.
This is easy to do on a staging site. Migrate your data to a local server. Here, test your restore options.
If you’re using Duplicator, feel free to use the one-click restore buttons. You can also set a backup as the disaster recovery point. Copy and paste the recovery URL to make sure it launches the recovery wizard.
After restoring a backup, make sure you can log back into your site. Everything should be rolled back to how it was when that backup was created.
As a beginner, it can be useful to walk through these steps before an actual disaster. Learn what works and then you’ll be prepared for the worst!
Set Up Disaster Recovery
Being stuck with a crashed site without a backup isn’t a good feeling. It’s crucial to expect the worst, even if it never happens.
Duplicator allows you to set up disaster recovery. This is a way to restore a backup without even needing to open your dashboard. It’s most helpful for full-site errors or large-scale hacks.
I’d highly recommend enabling disaster recovery as soon as you can. Find the instructions in Method 2 of this tutorial!
Frequently Asked Questions (FAQs)
How do I restore WordPress from a zip backup file?
You can restore WordPress from a zip backup file by creating a backup with Duplicator Pro. Then, set this backup as the disaster recovery point and copy the recovery URL. If your site crashes, paste this URL into a browser window and follow the steps to recover your site.
How do I restore a WordPress backup on localhost?
To restore a WordPress backup on localhost, build your locally hosted website. Next, install Duplicator Pro and find the Import page. Upload your backup and use the Duplicator recovery wizard to import all your data into the local site.
Where are my WordPress backups stored?
Your WordPress backups could be stored on your local server or on a third-party cloud storage location. With Duplicator, you can choose exactly where you want to save backups. It’ll provide many different storage options, including Google Drive, Dropbox, Microsoft OneDrive, and more.
How do I back up and migrate my WordPress site?
You can back up and migrate your WordPress site by installing the Duplicator Pro plugin. This tool allows you to compress your entire site into a single zipped archive file. Then, you can save this as a backup or easily transfer it to a new host, server, or domain name.
Alternatives: Other backup/restore and migration plugins include UpdraftPlus, All-in-One WP Migration, and Jetpack.
How do I restore my WordPress site without the database?
To restore your WordPress site without the database, create a backup with Duplicator that only includes your WordPress files. In the Backup section, on Custom and uncheck the database option.

Continue building the backup. If you ever need to restore this data, click on the Restore button next to it.
Once you continue with the restoration, Duplicator will only overwrite your files. It won’t perform any actions on the database.
The 5-Minute Safety Net That Could Save Your WordPress Site
By following these steps, you’ll be able to restore WordPress from a backup in less than 5 minutes!
Think about how much time, effort, and money you’ve invested in your WordPress site. Now imagine losing it all to a plugin conflict, a failed update, or a hack.
With the right backup and restore strategy in place, you’re never more than a few clicks away from getting everything back.
Setting up your safety net doesn’t take much time. Install Duplicator Pro, create your first backup, and set up disaster recovery. You’ll have the power to restore your entire site with a single click—even if you’re completely locked out of your dashboard.
The worst time to learn about backups is when you desperately need one.
Start today by scheduling automatic backups, storing them in the cloud, and testing your restore process once. This small investment of time could save your business, your content, and countless hours of work later.
Here are some related guides to help you manage your WordPress site more effectively:
- The Ultimate Guide to WordPress Backup Files
- 8 Best WordPress Restore Plugins for Quick Data Recovery
- How to Restore a WordPress Site to a Previous Date Without a Backup
- The Ultimate Guide to WooCommerce Backups
- Your WordPress Site Could Vanish Tomorrow (Unless You Do This)
- From Breach to Recovery in 5 Minutes: My WordPress Backup Strategy