WordPress Step-by-step

How to Restore a WordPress Website From a Backup

A backup is only as good as your ability to restore it. Here’s how to restore a WordPress site through your host, a plugin or by hand, and how to avoid losing recent orders or posts.

Share this guide

An update went wrong, the site was hacked, or someone deleted half the pages by mistake. You have backups, or at least your host says you do. Now you need to put the site back the way it was, without making things worse or losing the orders and enquiries that came in since.

Quick answer

A full WordPress backup has two parts: the files (themes, plugins, uploads, wp-config.php) and the database (posts, pages, settings, orders). Restore both from the same point in time, using your host’s restore tool, your backup plugin, or manually via SFTP and phpMyAdmin. Before restoring, take a copy of the current site, and note any orders or content added since the backup so you can re-add them.

This guide follows the WordPress.org backup documentation and covers choosing the right backup, the three restore methods, shops and busy sites, and what to check afterwards.

What a backup must include

PartContainsLost if missing
DatabasePosts, pages, settings, users, orders, form entriesAll your content and settings
wp-content/uploadsImages and documentsEvery image on the site
wp-content/themes and pluginsDesign and functionalityCan usually be reinstalled, but custom code is lost
wp-config.phpDatabase connection and settingsSite can’t connect to its database

Before you restore

  1. Choose the right backupPick the most recent one from before the problem started. For hacks, that may be weeks back; see what to do if WordPress is hacked.
  2. Back up the current siteEven broken, it may contain new orders, posts or form entries you need.
  3. List what changed sinceOrders, enquiries, new posts, plugin updates. Anything after the backup date will be lost unless you re-add it.
  4. Pick a quiet timeOr put the site in maintenance mode, especially for shops.

Three ways to restore

1. Your host’s restore tool

Many hosts keep daily backups with a one-click restore in the control panel, often with options to restore files, database or both. It’s usually the quickest route. Check how far back backups go and whether they’re stored separately from the server.

2. A backup plugin

If you use a backup plugin, its restore function will usually handle both parts. If WordPress won’t load, some plugins offer a standalone restore script, or you can reinstall WordPress and the plugin, then restore.

3. Manually

Upload the backed-up files over SFTP, replacing the current ones, then import the database file through phpMyAdmin or your host’s database tool, as described in WordPress’s guides to file backups and database backups. Check wp-config.php has the right database details. This route needs care; ask your host if unsure.

Online shops and busy sites

Restoring a shop’s database rolls back orders, customers and stock levels too. Export recent orders first, restore, then re-enter or reconcile them. For small problems such as one broken plugin, a full restore may be overkill: deactivating that plugin is safer. See finding the plugin causing a problem.

Quick diagnosis

What you are seeing

  • Site broken after an update
  • Content deleted
  • Site hacked

Likely causes

  • Faulty update
  • Human error
  • Malware

Check first

  • Backup dates available
  • What changed since
  • Error logs

Get help when

  • No usable backup
  • Restored site still broken
  • Shop with many recent orders

After restoring

  • Clear all caches: plugin, server and CDN.
  • Check key pages, forms and checkout; send a test enquiry.
  • Update plugins carefully, one at a time, if an update caused the problem; see updating WordPress safely.
  • Re-add content and orders from after the backup date.
  • Check Search Console for indexing issues, especially if the site was down for long. See checking for accidental blocks.

A worked example

This is an illustration, not a specific client. A Dublin florist’s site breaks after a page builder update on a Thursday morning. The host has nightly backups. Before restoring, the owner exports the six orders placed overnight. They restore files and database from Wednesday night through the host panel, clear the cache, re-enter the six orders and hold the page builder update until the developer confirms a fix.

The site is back within an hour, and no orders are lost.

Mistakes to avoid

Make the next restore easier

  • Automate daily backups of files and database, stored off the server.
  • Keep several weeks of history, not just the latest copy.
  • Test a restore to staging every few months.
  • Take a manual backup before major updates.

Related reading: the WordPress white screen, common WordPress security problems and moving hosting providers. Our website development team can set up and test backups, and a technical SEO review checks nothing was lost in search.

Frequently asked questions

Will restoring a backup delete recent content?

Yes. Anything added after the backup date will be lost unless you re-add it.

Can I restore only the database or only files?

Sometimes, for specific problems, but restoring both from the same date is safest.

How often should I back up WordPress?

Daily for active sites and shops; weekly may suit rarely changed sites.

Are my host’s backups enough?

They help, but keep your own off-server copies too.

Will restoring affect my SEO?

Not if it’s quick and the restored site is correct. Check Search Console afterwards.

What if I have no backup?

Ask your host; they may have one. Otherwise, a developer may be able to recover parts of the site.

Sources and further reading

  1. WordPress backupsWordPress Developer Resources.
  2. Backing up your databaseWordPress Developer Resources.
  3. Backing up your WordPress filesWordPress Developer Resources.

Last updated 25 November 2026. Google changes its tools and reports regularly, so check the official sources above if something on screen looks different. This guide is general information, not advice for your specific website.

Found this useful? Share it