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.
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
- Check whether your host makes backups, how often, how long it keeps them and how to restore. Many do.
- 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).
- Keep at least one copy somewhere other than your host.
- To restore: put the files back first, then import the database, then update
wp-config.phpif the database details changed.
Good to know
- The files include WordPress core, themes, plugins, uploads (your images),
wp-config.phpand.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
More how-tos for WordPress (self-hosted)
Sources
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.



