To restore a WordPress site from a backup, you put back two things: the files (themes, plugins and uploads) and the database (posts, pages and settings). The easiest ways are your host’s backup tool or the same backup plugin that made the backup, such as UpdraftPlus. This guide covers both methods, a manual option and what to check after the restore.
A backup is only useful if you can restore it. Many site owners find out how restoring works only when something has already gone wrong.
It is worth reading this before you need it, so you know where your backups are and which method you will use.
Key takeaways
- A full restore needs both the files and the database.
- Your host’s backup tool is often the quickest option.
- If a plugin made the backup, restore with the same plugin.
- Choose a backup from before the problem started.
- Take a fresh backup of the current site before restoring, if you can.
- After restoring, clear the cache and check key pages.
Before you restore
- Find the right backup. Pick one from before the problem began, such as before a failed update or a hack.
- Back up the broken site too. If the restore goes wrong, you can still go back.
- Note any recent changes. Posts, orders or comments added after the backup will be lost when you restore it.
WordPress’s own upgrade guide stresses that backups must be verified as present and usable. My guide on backing up WordPress explains how to make backups you can trust.
Method 1: Restore from your host
Many hosts keep automatic backups and offer a restore button in the hosting dashboard.
- Log in to your hosting account.
- Find the backups section. It may be called Backups, Restore or a similar name.
- Choose a backup date.
- Choose what to restore. Some hosts let you restore only files, only the database or both.
- Start the restore and wait for it to finish.
The exact steps differ by host, so check its help pages if you cannot find the option.
Method 2: Restore with a backup plugin
If you used a backup plugin, restore with the same plugin. UpdraftPlus is a common example. Its plugin page describes restoring by choosing which components to restore, such as plugins, themes and the database.
- Open the plugin’s settings in your WordPress dashboard.
- Find the list of existing backups.
- Click Restore on the backup you want.
- Select the components: database, plugins, themes, uploads and others.
- Confirm and let the restore finish.
If the backup is stored in remote storage, such as Google Drive or Dropbox, the plugin may need to download it first.
If you cannot log in
A plugin restore needs a working dashboard. If you cannot reach wp-admin, use your host’s restore tool, or install a fresh copy of WordPress, install the same backup plugin and restore from your remote storage.
Method 3: Restore manually
This is for when other options are not available. It needs access to your files and database through your host.
- Upload the files. Replace the WordPress files with those from the backup, using your host’s file manager or FTP.
- Import the database. In your host’s database tool, such as phpMyAdmin, import the backup’s database file.
- Check wp-config.php. Make sure the database name, user and password match the database you are using.
If you are not comfortable with these steps, ask your host’s support team for help.
After the restore
- Clear your caching plugin and any host cache.
- Log in and check the dashboard.
- Open the homepage, a few posts and your forms.
- Check that the problem is gone.
- Update plugins and themes carefully. See how to keep WordPress updated safely.
If the site was hacked, a restore may not remove the cause. Change passwords and review security. My WordPress security guide covers the basics.
Frequently asked questions
What does a WordPress backup include?
A full backup includes the files, such as themes, plugins and uploads, and the database, which holds posts, pages and settings.
Will I lose data when I restore?
Anything added after the backup was made, such as new posts or comments, will be replaced by the backup’s version.
Can I restore just the database?
Yes. Many hosts and plugins let you choose which parts to restore.
What if I cannot access my dashboard?
Use your host’s restore tool, or restore manually through the file manager and database tool.
How often should I test restoring?
It is a good idea to test a restore occasionally, for example on a staging site, so you know your backups work.

Nayan Dhumal