CM
ClickMinded SOPKnowledge Base
Search
← All topics

How to backup and restore your WordPress website

SOP 053: How to backup and restore your WordPress website Successfully implement a backup solution for your website that allows you to always have a backup on hand, and recover from possible errors. _

source:clickmindedtype:sopserver:clickminded-sopbackuprestorewordpresswebsite
Agent trigger phrases: how to backup and restore your wordpress website

SOP 053: How to backup and restore your WordPress website

Successfully implement a backup solution for your website that allows you to always have a backup on hand, and recover from possible errors.

Last Updated / Reviewed: 03/26/2024

Execution Time: 30 min - 1 hour

🚀 Goal: To successfully adopt a WordPress backup solution that allows you to always have a backup on hand and recover your website from it.

🤞 Ideal Outcome: Your WordPress website creates periodic backups of your website to cloud services, and you can restore it using these files.

🤔 Why this is important: There are multiple reasons why you might want to always have a backup of your website. Severe issues can arise either through a mistake by your web hosting company, a faulty plugin or theme, a corrupted upgrade, having your server compromised, among others. Having a solution that allows you to get up and running in less than an hour is vital.

🧐 Where this is done In your WordPress Admin panel.

🗓️ When this is done: A backup solution should be installed as soon as possible. Restoring from a backup should only be seen as a last resort as the process may cause data loss itself.

👨 Who does this: The person responsible for website maintenance or server management.

__⚠️Prerequisites or requirements: __This SOP only works for WordPress websites.

Click here to get the most up-to-date version of this SOP

Environment setup

01▸ Install Updraft on your WordPress website:

Inside the WordPress Admin Panel, head over to ‘Plugins’ → ‘Add New’

Graphical user interface, text, application Description automatically generated

02▸ Search for “Updraft”

03▸ Click “Install Now” and then click “Activate”.

Graphical user interface, text, application Description automatically generated

04▸ A new “UpdraftPlus Backups” option should appear on the sidebar of your WordPress admin under “Settings”, click that link:

Graphical user interface, text, application Description automatically generated

05▸ Configure the default settings:

Click “Settings”

Graphical user interface, text, email Description automatically generated

06▸ Edit the following fields:

Files backup schedule: This is the frequency you need WordPress to back up your files automatically.

Note: Your files do not include your website content, it only includes files and folders on your server (e.g.: Your plugin files, your theme files, your uploaded images, etc.)

Note 2: Typically, you will want to do at least a monthly backup. But there is no need to create a backup every day if you only update your website once a month. If you are unsure, you can perform the following exercise:

“On average how many times per month do I change or update my website content, plugins or theme?” Use that number to calculate the backup schedule you need.

E.g.: “4. I create a post in the first three weeks, and in the last week of the month I deploy new website features.” → “Weekly”

Database backup schedule: This is the frequency you need WordPress to back up your database automatically. You can select the same frequency you selected for your files on the last step.

Note: Your database does not include your entire WordPress website, instead it will include, for instance, your Blog Posts, Pages, Comments and some settings.

And retain this many scheduled backups”: You can select the same option you selected for your files on the previous steps.

Choose your remote storage: Select the cloud storage service you work with or the one where you will want to store these automatic backups.

Important: It is not recommended to simply store your backups on the same server as this will cause a single point of failure. If your server gets compromised the attacker can delete any backups you may have. Furthermore, if the issue that you are trying to recover from deleted or corrupted the files on your server, you will have no backups available.

07▸ Click on “Google Drive”.

Note: This SOP will cover the process for Google Drive, but you can use any other service you prefer.

08▸ Scroll down and click “Save Changes”:

09▸ Click the link to authorize access to your cloud service:

10▸ Log In to your cloud service:

Graphical user interface, text, application Description automatically generated

11▸ Allow access to your account:

Graphical user interface, text, application Description automatically generated

12▸ You will be taken to an Updraft page, click “Complete Setup”:

13▸ You will see a message confirming you have authenticated your account:

That’s it, you have now enabled automatic backups to a cloud service!

Note: If you want to be extremely cautious you can purchase an add-on (affiliate link) for this plugin that will allow you to store backups in multiple locations.

Creating a manual backup

01▸ Open Updraft settings by clicking “Settings” → “UpdraftPlus Backups” on the sidebar:

Graphical user interface, text, application Description automatically generated

02▸ Click “Backup Now”:

A picture containing graphical user interface Description automatically generated

03▸ A pop-up will appear, click “Backup Now” once again:

Graphical user interface, text, application, email Description automatically generated

04▸ You will see a progress bar appearing on the page:

A screenshot of a computer Description automatically generated with medium confidence

Note: Depending on the size of your website and the resources on your server this process might take several minutes or more. You don’t need to keep the window open; the process will run in the background.

Note 2: Once ready you will see a message with the last backup date:

Graphical user interface, text, application, email Description automatically generated

05▸ To download the backup, scroll down to ‘Existing Backups’ (See screenshot above).

06▸ To download the backup, click “Existing Backups” on the top navigation:

Select the backup data you want to download to your computer. Ideally, you should keep a local backup of all of them → Click “Download to your computer”.

Graphical user interface, application Description automatically generated

Save the files locally. This way, you have an online and an offline backup.

Restoring from a backup

Note: Depending on the size of your backups and your server resources this operation may carry some risks. Your server might not have enough resources to deal with the entire operation and some data might be recovered and some might not. If you are unsure, contact your web hosting provider. Typically, if your website is under 200MB there should be no issues even if you are using a limited-resources server.

Remember: You can check the size of your backups either by downloading them and checking locally on your computer or by simply looking at your cloud storage service.

Table Description automatically generated

01▸ Open Updraft settings by clicking “Settings” → “UpdraftPlus Backups” on the sidebar:

Note: If the issue you are restoring from is so severe that you don’t have access to your WordPress Admin panel anymore, you will have to install WordPress from scratch (out of the scope of this SOP), and install Updraft again as covered at the beginning of this SOP before following the next steps.

Graphical user interface, text, application Description automatically generated

02▸ To restore the backup, scroll down to ‘Existing Backups’ on the top navigation, select your backup and click ‘Restore’:

Note: If you can’t find your backups on the list they might have been deleted from your server or cloud service, in that case, if you have a local backup, you can upload it by using the “Upload backup” feature on the top:

Graphical user interface, application Description automatically generated

03▸ Tick the boxes of what components you will want to restore at this moment → Click “Restore”:

Graphical user interface, text, application, email Description automatically generated

04▸ The restoring process will begin and when it is over, scrolling down you will see the following message:

Graphical user interface, text, application Description automatically generated

05▸ Click ‘Return to UpdraftPlus configuration’ to return to the WordPress panel. That’s it, your WordPress website should be up and running as before!