How-to · WordPress (self-hosted)

Back up your WordPress site

What backup and restore options WordPress gives you, how to use them, and what they leave out, so you know before something goes wrong.

1 min readBy Wiredeo

A padlock resting on a computer keyboard
Photo: Sasun Bughdaryan, Unsplash

Steps checked against the platform’s own help pages on 27 October 2026. Menus move; if yours look different, tell us and we’ll update this page.

WordPress itself has no backup button. A full backup needs two things: the database and the files.

Steps

  1. Check whether your host makes backups, how often, how long it keeps them and how to restore. Many do.
  2. For your own copies, use a backup plugin, or copy the files over SFTP and export the database in phpMyAdmin (Export, then Custom, SQL format).
  3. Keep at least one copy somewhere other than your host.
  4. To restore: put the files back first, then import the database, then update wp-config.php if the database details changed.

Good to know

  • The files include WordPress core, themes, plugins, uploads (your images), wp-config.php and .htaccess.
  • Test a restore once, on a staging copy, so you know it works before you need it.

For a fuller plan, including where to keep copies, see how to back up your website and what to do if your website is down.

Back up your site on other platforms

Compare all platforms for this task

More how-tos for WordPress (self-hosted)

Sources

  1. WordPress Developer Resources, WordPress backups 2026

Filed under SecurityRunning your site

Next step

Not sure where your own business stands?

A two-minute check-up shows where you are losing time and customers, and what to fix first.

Take the check-up Request an audit