How to Backup and Restore WordPress

This article explains the backup function of WP STAGING | PRO.

You can create a backup of your entire WordPress website with one click and save it locally. So, If your website breaks due to an updated plugin or an attack, you can restore your website and bring it back to its previous working state.


If you’d rather watch a video than read, have a look here. It explains all the steps of how to back up and restore WordPress:

 

Create a Backup of your WordPress Website

Let’s start.

First, open the WP STAGING Pro plugin.

WP STAGING Pro Plugin in the Sidebar Menu
WP STAGING Pro Plugin in the Sidebar Menu

If you are not sure how to install the plugin, look at our “How to install WP STAGING Pro” article.

Click on the “Backup & Restore” button, and WP STAGING Pro lists all existing backups.

Backup & Restore Button
Backup & Restore Button

You’ll see two options: “Create New Backup” and “Upload Backup.”

Click on “Create a new backup.”

Create New Backup Button
Create New Backup Button

You can optionally assign a name with which you can identify the backup.

Set up a name for the backup
Set up a name for the backup

So, for instance, if you plan to update WooCommerce or any other plugin, you can name your backup like “Backup before installing WooCommerce.”

Then select the components of your website that WP STAGING Pro should include in the backup. Unless you want to carry out a particular test, leave all the boxes checked.

Click on “Start Backup.”

Start the Backup Process
Start the Backup Process

The time it takes to create a backup differs and depends on the size of your website, but the WP Staging backup function is pretty fast and often much faster than other backup tools. So, especially for massive sites, you will notice a considerable performance advantage compared to other backup plugins.

The Backup is Completed
The Backup is Completed

When the backup is ready, you will find the backup under”Your Backups.” The icons indicate which components the backup includes.

The Backup Contains these Components
The Backup Contains these Components

Download the Backup File

To download the backup, click Actions and Download. That will download a file with the extension “.wpstg.”

Download the Backup
Download the Backup

Downloading the backup file to a local computer is recommended because you want to ensure that you always have access to the backup file. For instance, If an attacker hacks your website, he could delete the backup file from there, and you would not be able to restore the site anymore.

The Backup File with the Extension ".wpstg"
The Backup File with the Extension “.wpstg”

Restore the Backup File

To restore the backup in the event of a broken website, you can either select the backup from the list of existing ones or, as recommended, upload the backup file from your local computer.

A great feature is that You can even upload the backup file to any other existing WordPress website and use that backup file to clone your website to another hosting provider and server.

Go back to WP STAGING and click the “Upload Backup” button.

Upload Backup Button
Upload Backup Button

Select the downloaded backup from the file explorer and upload it.

Select the WP STAGING Backup File
Select the WP STAGING Backup File

Once the backup is uploaded, click on Actions and Restore.

Click on "Restore"
Click on “Restore”

If the restore is successful, you will see the “Finished” modal.

WP STAGING Pro Restored the Backup Successfully
WP STAGING Pro Restored the Backup Successfully

Open your website and test whether the website works as intended and is entirely functional.

That’s it. With the help of WP STAGING | PRO, you have created a backup of your entire WordPress website and have seen how you can restore your WordPress website from a backup.

Updated on September 17, 2021