Wordpress 7–8 min read

How to back up a WordPress site: 3 methods that actually restore

How to back up a WordPress site with a plugin, your host or by hand, how often to do it, where to keep copies and how to test a restore.

READ THE ARTICLE

Three ways to back up a WordPress site (with a plugin, through your host, or by hand), how often to do it, where to keep the copies, and how to make sure a backup will actually restore.

Updated: 18 November 2026. Guidance follows the WordPress Advanced Administration Handbook.

How to back up a WordPress site: what to include

WordPress stores your site in two places, and a backup of only one of them cannot rebuild the site:

  • Files: WordPress itself, your theme, plugins and the wp-content/uploads folder with your images and documents. The wp-config.php file holds your database connection details, so store backups that include it somewhere private.
  • Database: your posts, pages, comments, users, settings and, on a WooCommerce store, orders and customers. It lives separately from the files, so downloading the WordPress folder does not include it.

If you only have time to protect one part, the database and wp-content are the irreplaceable ones; WordPress core and most plugins can be downloaded again.

Method 1: back up with a plugin

A plugin is the most practical choice for most sites because it runs on a schedule and can send copies off the server automatically. UpdraftPlus is the most widely used option, active on more than 4 million sites; WPvivid and BackWPup are common alternatives. With UpdraftPlus:

  1. Install the plugin

    In your dashboard go to Plugins → Add New, search for UpdraftPlus, then install and activate it.

  2. Connect remote storage

    In Settings → UpdraftPlus Backups → Settings, choose where copies go. The free version supports Google Drive, Dropbox, Amazon S3 and S3-compatible storage, FTP and email, among others.

  3. Set a schedule

    Pick separate schedules for files and database. A busy site needs the database backed up more often than the files, because orders, comments and posts change daily.

  4. Run the first backup

    Click Backup Now with both database and files selected, then check that the copy has arrived in your remote storage.

The free version handles scheduled backups to these destinations. Incremental backups, which add only what changed to save server resources, are a paid feature.

Method 2: use your hosting backups

Many hosts back up your site automatically and let you create or download a copy from the control panel. It is a useful extra layer, but check three things before you rely on it:

  • Retention: how many days of backups are kept, and how quickly you would notice a problem within that window.
  • Location: whether the copies are stored away from your server. A backup with the same provider will not help if the hosting account itself is suspended, hacked or closed.
  • Access: whether you can download a full copy yourself, or only ask support to restore one.

HANDS-ON HELP

Need this implemented in WordPress?

Explore custom theme, plugin and technical development support.

WordPress Development

Method 3: back up WordPress manually, without a plugin

A manual backup is worth knowing for one-off copies, before a migration, or when the dashboard is not working.

  1. Export the database

    In your hosting panel, open phpMyAdmin, select the database named in wp-config.php and use Export to save it as a .sql file.

  2. Download the files

    In File Manager, compress the WordPress folder (often public_html) into a zip and download it, then delete the zip from the server so it cannot be downloaded by others. Alternatively, download the folder over SFTP with a client such as FileZilla.

  3. Store both together

    Name the files with the date, keep them together and save them in at least one place outside your hosting account.

If you have SSH access and WP-CLI, the same backup takes two commands run from the WordPress folder: wp db export ../backup.sql exports the database, and tar -czf ../files-backup.tar.gz . archives the files. Both write to the folder above the website, so the copies are not publicly downloadable; move them off the server afterwards.

Backing up locally simply means downloading these copies to your own computer or an external drive. It is a good second location, but not the only one: a laptop can fail or be lost too.

How often to back up, and how many copies to keep

The WordPress handbook recommends weekly backups for smaller sites with few changes, daily backups for busy sites, and a backup before every update, whatever the schedule. It advises keeping at least 3–5 recent backups and storing them “in different places and on different mediums”, for example cloud storage and a local drive as well as the server.

Online stores need extra thought. Restoring a database backup replaces everything recorded after it was taken, including new orders and stock changes. A store taking orders every hour needs frequent database backups and a plan for which data to keep when something goes wrong. For store owners, WooCommerce maintenance covers this in more detail.

How to restore a WordPress backup

With a plugin, restoring is usually a button in the plugin’s backup list: choose the backup and the parts to restore. For a manual backup, the handbook’s order is to restore the files first, then import the database.

The only way to know a backup works is to restore it. Do it at least once on a staging copy or a spare hosting space, not on the live site, and check that pages, images, logins and forms work. A backup that has never been restored is a hope, not a plan.

Common backup mistakes

  • Backing up the files but not the database, or the other way round.
  • Keeping every copy on the same server as the site.
  • Only keeping one backup, which may already contain the problem you need to undo.
  • Skipping the backup before an update because the last one “should be recent enough”.
  • Restoring a hacked site from a backup made after the attack, which brings the malware back. If that has happened, see WordPress malware removal.

Should you manage backups yourself?

For a small site, a well-configured plugin with off-site storage and an occasional restore test is enough, and costs nothing but time. If the website brings in enquiries or sales, the harder part is consistency: noticing when a scheduled backup silently stops, and restoring quickly after a failed update. That is what a WordPress maintenance plan is for; see what WordPress maintenance costs to compare options.

Frequently asked questions

How do I back up my WordPress site for free?

Install a free backup plugin such as UpdraftPlus, connect a free cloud storage account such as Google Drive or Dropbox, and set a schedule for files and database. You can also download the files and export the database from your hosting panel at no cost.

How do I export my entire WordPress site?

A full copy needs both the files and the database: use a backup or migration plugin, or download the WordPress folder and export the database in phpMyAdmin. The built-in Tools → Export only exports content as an XML file, not the whole site.

How can I back up my WordPress site locally?

Download the backup to your computer: either the files a plugin creates, or a zip of the WordPress folder plus a database export from phpMyAdmin. Keep a second copy in cloud storage as well.

How often should I back up my WordPress site?

Weekly for small sites that rarely change, daily for busy sites and stores, and always before updating WordPress, themes or plugins. Keep at least 3–5 recent backups.

Does my hosting company back up my site?

Many do, but retention, storage location and download access vary. Treat host backups as one layer and keep your own copy elsewhere.

Can I back up WordPress without a plugin?

Yes. Export the database with phpMyAdmin and download the files with File Manager or SFTP, or use WP-CLI if you have SSH access. It works, but it is easy to forget, so it suits one-off copies better than routine backups.

Find the right next step for your WordPress site.

Explore custom theme, plugin and technical development support.

WordPress Development
Add maksut.net as a preferred source on GoogleMy new articles can show up more often for you in Google’s Top Stories and AI Overviews.(opens in a new tab)

Send a note

Have a correction, suggestion or a different interpretation? Send me a note.

SEND A NOTE