Skip to content
Your Tech Read
Your Tech Read
Web & Cloud Hosting

How to Back Up and Restore a WordPress Site (Step-by-Step Guide)

In this article 9 sections
  1. What a WordPress backup includes
  2. Method 1: Back up with a plugin (easiest)
  3. Method 2: Use your hosting backups
  4. Method 3: Back up manually
  5. How to restore your WordPress site
  6. How often should you back up?
  7. Common backup mistakes to avoid
  8. FAQ
  9. Final word

A plugin update breaks your homepage. A hacker injects spam links. Your host has a server failure. You delete the wrong page by accident. Every WordPress site owner faces at least one of these sooner or later.

With a recent backup, any of them is a 10-minute fix. Without one, you could lose months or years of work.

This guide shows you three ways to back up a WordPress site, from easiest to most hands-on, and how to restore it when something goes wrong. You don’t need to be technical to follow it.

What a WordPress backup includes

A complete WordPress backup has two parts. You need both to restore your site fully.

Part What’s in it
Files WordPress core files, your themes, plugins, uploads (images, PDFs, videos) and the wp-config.php settings file
Database All your posts, pages, comments, users, menus, plugin settings and site settings

A common mistake is backing up only the files. Your images would come back, but every post and page would be gone, because they live in the database. Always check that your backup includes both.

Method 1: Back up with a plugin (easiest)

A backup plugin is the simplest option for most site owners. UpdraftPlus is one of the most popular. Its free version backs up both files and database, runs on a schedule and sends copies to cloud storage like Google Drive or Dropbox.

Step 1: Install UpdraftPlus

  1. In your WordPress dashboard, go to Plugins → Add New Plugin.
  2. Search for “UpdraftPlus”.
  3. Click Install Now, then Activate.

Step 2: Connect cloud storage

Never keep backups only on the same server as your site. If the server fails or gets hacked, your backups go with it.

  1. Go to Settings → UpdraftPlus Backups and open the Settings
  2. Under “Choose your remote storage”, pick a service such as Google Drive, Dropbox or Amazon S3.
  3. Click Save Changes, then follow the link that appears to sign in and give UpdraftPlus permission.

Step 3: Set a backup schedule

Still on the Settings tab:

  1. Set the Files backup schedule, for example weekly, and choose how many backups to keep.
  2. Set the Database backup schedule, for example daily, and choose how many to keep.
  3. Click Save Changes.

Step 4: Run your first backup

  1. Go to the Backup / Restore
  2. Click Backup Now.
  3. Make sure both “Include your database” and “Include your files” are ticked, and that the backup will be sent to remote storage.
  4. Click Backup Now again and wait for it to finish.

When it’s done, the backup appears under “Existing backups”, and a copy is saved in your cloud storage.

Other good plugins: Duplicator is great for moving a site to a new host, BlogVault offers off-site backups with one-click restore, and Jetpack VaultPress Backup gives real-time backups. Most of these have paid plans.

Method 2: Use your hosting backups

Most good WordPress hosts back up your site automatically. Hostinger, SiteGround, Bluehost, Cloudways and others offer daily or weekly backups, depending on your plan.

To find them, log in to your hosting control panel (hPanel, Site Tools, cPanel or similar) and look for a section called Backups. You can usually:

  • See a list of recent backups by date.
  • Create a manual backup on demand.
  • Download a copy to your computer.
  • Restore your whole site, or just its files or database, in a few clicks.

Check three things with your host:

  1. How often backups run (daily or weekly).
  2. How long they’re kept, often 7 to 30 days.
  3. Whether backups are included in your plan or cost extra.

Host backups are a great safety net, but don’t rely on them alone. They’re stored with the same company, and if your account is suspended or the host has a major problem, you may lose access. Keep your own off-site copy too.

If you’re comparing hosts, see our Hostinger vs SiteGround comparison.

Method 3: Back up manually

A manual backup takes longer, but it works even when your dashboard won’t load. It’s also useful to understand how backups work behind the scenes.

Part A: Back up your files

  1. Log in to your hosting control panel and open File Manager, or connect with an FTP app like FileZilla.
  2. Open your site’s main folder, usually called public_html.
  3. Select everything in it, including wp-content and wp-config.php.
  4. Compress it into a .zip Most File Managers have a “Compress” option.
  5. Download the zip file to your computer.

If your site is large, at least download the wp-content folder and wp-config.php. Those hold everything unique to your site. You can always reinstall WordPress core files.

Part B: Back up your database

  1. In your hosting panel, open phpMyAdmin.
  2. Select your WordPress database on the left. If you’re not sure which one, check the DB_NAME line in wp-config.php.
  3. Click the Export
  4. Choose the Quick method and SQL
  5. Click Export (or Go) to download the .sql file.

Store the zip and .sql files together, labelled with the date, in a safe place such as your computer and a cloud drive.

How to restore your WordPress site

Before you restore anything, take a backup of the site in its current broken state. If the restore goes wrong, you can at least get back to where you started.

Restore with UpdraftPlus

Use this when you can still log in to your dashboard.

  1. Go to Settings → UpdraftPlus Backups → Backup / Restore.
  2. Under “Existing backups”, find the backup from before the problem started and click Restore.
  3. Tick what to restore: plugins, themes, uploads, others and the database. For a full restore, tick all of them.
  4. Click Next. UpdraftPlus checks the backup, then click Restore to start.
  5. When it finishes, return to UpdraftPlus and check your site.

If the backup is only in your cloud storage, click Rescan remote storage first so it appears in the list. If WordPress is gone completely, install a fresh copy of WordPress, install UpdraftPlus, connect the same cloud storage and restore from there.

Restore from your host

Use this when your dashboard won’t load, or the whole site is broken.

  1. Log in to your hosting control panel and open Backups.
  2. Choose a backup date from before the problem.
  3. Choose whether to restore the whole site, only files or only the database.
  4. Confirm and wait. It usually takes a few minutes.

Restore manually

Use this if you only have manual backup files.

  1. Restore the files: in File Manager or FTP, upload your backup zip to public_html and extract it, replacing the existing files.
  2. Restore the database: in phpMyAdmin, select your database, select all tables and drop them, then use the Import tab to upload your .sql file.
  3. Check wp-config.php: make sure the database name, username and password match your current database.
  4. Clear caches: clear your caching plugin and browser cache, then check your site.

Dropping tables deletes everything in the database, so only do it when you have a working .sql backup ready to import.

How often should you back up?

Back up as often as you can afford to lose work. If losing a week of posts or orders would hurt, back up more often than weekly.

Type of site Suggested backup schedule
Blog updated weekly Database daily, files weekly
Business site that rarely changes Weekly full backup
Online store or membership site Database every few hours or real-time, files daily
Before any update or big change A manual backup every time

Follow the 3-2-1 rule

The 3-2-1 rule is a simple way to make sure one problem never wipes out every copy:

  • 3 copies of your site: the live site plus two backups.
  • 2 different storage types, for example your host’s backups and cloud storage.
  • 1 copy off-site, away from your hosting company, such as Google Drive or Dropbox.

A free UpdraftPlus setup sending backups to Google Drive, plus your host’s own backups, already meets this rule.

Common backup mistakes to avoid

  • Storing backups only on your server. If the server fails or is hacked, the backups are lost too. Always keep an off-site copy.
  • Backing up files but not the database. Your posts and pages live in the database. Check that both are included.
  • Never testing a restore. A backup you can’t restore is useless. Test one on a staging site every few months.
  • Keeping too few copies. If you only keep the last backup, and the problem started a week ago, every copy may already be broken. Keep at least a few weeks of history.
  • Forgetting to back up before updates. Always take a fresh backup before updating WordPress, themes or plugins.
  • Ignoring failed backups. Turn on email notifications so you know straight away if a scheduled backup fails.

Once backups are running smoothly, it’s a good time to look at site performance too. See our guide on how to speed up a slow WordPress site.

Related guides: WordPress Troubleshooting: How to Fix the Most Common Errors

Protect the rest of your business data too:

FAQ

Is UpdraftPlus free?

Yes. The free version backs up your files and database, runs scheduled backups, sends them to cloud storage like Google Drive or Dropbox, and restores with a few clicks. The paid Premium version adds extras such as incremental backups, site migration and more storage destinations.

How long does a WordPress backup take?

A small blog usually takes a few minutes. Large sites with many images can take longer. Database-only backups are very quick, often under a minute.

Do I need a backup if my host already backs up my site?

Yes. Host backups are useful, but they’re stored with the same company and may only be kept for a short time. Your own off-site copy protects you if your host has a problem or your account is suspended.

Can I restore only part of my site?

Yes. UpdraftPlus and most hosts let you restore just the database, just the plugins, just the uploads and so on. That’s useful if only one part of your site is broken.

Where should I store my WordPress backups?

Use at least one location away from your web host, such as Google Drive, Dropbox, OneDrive or Amazon S3. Keeping a copy on your computer as well adds extra safety.

Can I use a backup to move my site to a new host?

Yes. Restore the backup on the new host, then point your domain there. Plugins like Duplicator or UpdraftPlus Premium make migration easier because they handle changes to the site address for you.

Final word

Backing up a WordPress site takes about 15 minutes to set up and then runs on its own. Install UpdraftPlus, connect Google Drive or Dropbox, set a schedule and run your first backup today. Keep your host’s backups as a second safety net, and take a manual backup before every big update.

Most importantly, test a restore once in a while. The day something breaks, you’ll be glad you know exactly what to do.

Leave a comment

Your email address will not be published. Required fields are marked *