Skip to content

WordPress backup strategy: how to back up a site so it actually restores

Many of the sites that reach us broken had backups. The host restored something three weeks old, or the plugin’s archive stops halfway through an import, or the database in the zip is empty. Until you have restored a backup, it is only a hope. This guide covers how to back up a WordPress site, how often, and where to keep the copies, but most of it is about the part that decides whether any of that works: the restore.

How to back up a WordPress site

A WordPress backup has two parts, and you need both: the database (posts, pages, orders, users, settings) and the files in wp-content (uploads, themes, plugins). There are three ways to take them.

  • A backup plugin. UpdraftPlus, Duplicator or BlogVault back up the database and files on a schedule and push them to remote storage such as Backblaze B2, Amazon S3 or Google Drive. This is the easiest route and the right one for most small sites.
  • Your host or panel. Most hosts and panels such as CyberPanel or cPanel take snapshots of the whole account or server. Restores are fast, and the copy usually sits next to the site it is meant to protect.
  • By hand on the server. wp db export (or mysqldump) for the database and a tarball or rsync of wp-content for the files, run from cron and copied offsite. It needs shell access, and nothing hides behind a plugin screen.

For anything beyond a small brochure site, use at least two of these. The sections below explain why.

The only test that counts is a real restore

A green checkmark in a backup plugin means the job ran. It does not mean the result will rebuild your site. Archives go missing the database, stop halfway because the job timed out on a big media library, or contain every file and none of the content, and the plugin still reports success.

So restore a backup to a throwaway place and see if the site comes back: a staging site, a local Docker setup, a spare subdomain. Do it on a schedule, not once. Our care plans include a test restore every month for exactly this reason; for a site you look after yourself, once a quarter is the minimum. If it restores, you have a backup. If it does not, you found out on a quiet afternoon instead of during an outage.

Your host’s backup is not your backup

Most hosting plans include daily backups, and people treat that as the whole strategy. It has two weaknesses. The copies usually live on the same infrastructure as the site, so the failure that takes down the server can take the backups with it. And retention is short, with restores on the host’s terms: if the oldest snapshot they keep is four days old, restoring it wipes four days of orders.

Use the host’s backup as a fast undo button for small mistakes. If the only copy of your site lives inside your hosting account, a hacked account or a billing dispute can take the site and its backups together.

The 3-2-1 rule without the lecture

Keep three copies of the site, on two different kinds of storage, with one somewhere else entirely. For a normal WordPress site that means the live site, a backup on the host or the plugin’s schedule, and a copy pushed offsite to Backblaze B2, Amazon S3 or Google Drive.

The offsite copy is the one people skip, because it takes ten more minutes to set up, and it is the only one that survives a hacked host, a deleted account or a data-centre fire. If you do one thing after reading this, connect your backup plugin to an offsite destination.

How often to back up

Match the schedule to how much work you are willing to lose. A brochure site that changes monthly does not need hourly backups. A store taking orders every few minutes needs the database backed up hourly or continuously, or a lost backup window is lost orders.

Split the two parts. Back up the database as often as you would hate to re-enter the data, and the files whenever they change; for most sites that is a daily database backup and a weekly full one. The database is small and changes constantly; the files are large and change rarely. Running both on the same slow schedule is why big backups time out.

What breaks on real sites

Backups fail in boring, predictable ways, and most of them come down to size. A small blog backs up fine forever. A WooCommerce store with years of orders and a 40 GB uploads folder is where the trouble starts:

  • The job hits the host’s PHP time limit and stops partway, leaving an archive that looks complete and is not.
  • Someone excluded the uploads folder to save space, so the database restores and every product image is gone.
  • The database export is too big to import through phpMyAdmin, and the restore suddenly needs WP-CLI and a calm hour.
  • Nobody checks the backups, so a job that has failed silently for two months is discovered the day it is needed.

For a large or busy site, a server-level snapshot plus a separate database dump is more reliable than one plugin trying to zip everything inside a web request.

Five ways to restore, and where each one trips

Every restore method has a failure mode you only find by running it. From fastest to slowest on a typical store:

  1. Host or panel snapshot. The fastest restore, with files and database back together in one step. It is also the weakest disaster copy, because it lives on or near the server that failed. Treat it as the layer for a broken plugin update.
  2. Restore to staging, then promote. Slower, because the files are copied twice, but it is the only method where you see the restored site working before it touches production. The trap is search-and-replace: the database is full of the staging URL, and serialized data in page builders hides it. Run wp search-replace with --precise and check the options table.
  3. A plugin restore from remote storage. UpdraftPlus works, but large backups arrive in chunks, and one failed chunk gives a restore that looks complete and is not. On shared hosting a large database import can hit PHP’s execution limit and stop halfway; raise it or import over WP-CLI instead.
  4. WP-CLI and a database dump. wp db import for the database and the files from a tarball. It is the method to trust on a broken server, because nothing hides behind a plugin. It needs shell access and care: one wrong --all-databases on a shared server can overwrite a neighbouring site.
  5. One-click migration plugins. All-in-One WP Migration and Duplicator are the friendliest and the first to fail at scale: free tiers cap the upload size, and large sites need workarounds. Under about 512 MB they are the quickest route for a non-technical owner.

Whatever you use, time a drill. If the restore takes forty minutes and you assumed five, it is better to learn that before the site is down.

What we set up by default

For a typical WordPress site we run a daily database backup and a weekly full one with UpdraftPlus or Duplicator, pushed to offsite storage with at least 30 days of history, so you can roll back past a problem nobody noticed at once. Then a test restore on staging on a fixed schedule.

For larger or transactional sites the heavy lifting moves to the server: snapshots from the host or the panel, plus an automated database dump shipped offsite, because a 40 GB site should not depend on a PHP plugin finishing a zip. Different tools, the same three principles: more than one copy, at least one offsite, and a restore you have watched succeed.

Fast, tested backups are also what make 99.9% uptime realistic, since every minute of rollback is a minute of downtime. If your backups have never been tested, our WordPress care plans include the monthly restore test, and when a site is already down and the last backup will not restore, that is WordPress restoration work.

Common questions

How do I back up my WordPress site?

Install a backup plugin such as UpdraftPlus, schedule database and file backups, and connect it to remote storage like Backblaze B2 or Google Drive. Then restore one backup to a staging site to prove it works.

How often should I back up WordPress?

The database as often as the content changes (daily for most sites, hourly for busy stores) and the files weekly or after every update. Keep at least 30 days of history.

Is my host’s backup enough?

No. It usually sits on the same infrastructure as the site and keeps only a few days. Use it for quick undo, and keep your own copy offsite.

Where should I store WordPress backups?

At least one copy away from your host: Backblaze B2, Amazon S3, Google Drive or another provider’s storage. Never only on the same server or in the same hosting account.

Start here

Hit this one
yourself?

If any of the above is happening on your stack, send us the symptoms. We triage the same working day and quote before we start.

Which layer is on fire?
Your details stay with us. Always.