You usually think about backups on the day you need one. An update breaks the site, or a hack comes to light, and the only copy is on the same server.
Your host may say it backs up your site. What matters is what's in the backup, where it's kept, how far back it goes, and whether anyone has ever restored one. Here's how we'd set up backups, and how to prove they work.
What a full WordPress backup includes
A WordPress site has two halves, and a full backup needs both.
- The database holds your posts, pages, comments, settings and users, plus anything your forms or shop save.
- The files are WordPress itself, your plugins and theme, and the images and documents you’ve uploaded. Plugins add features, and the theme controls the design.
Most of what's yours sits in the wp-content folder: your theme, plugins and uploads. Two more files matter. wp-config.php holds the details WordPress uses to connect to your database, and .htaccess holds settings for the web server. WordPress itself can be replaced from a fresh download.
WordPress.org points out that backing up the files doesn't back up the database. The database lives in a separate system, outside your WordPress folder. So take both at the same time, as one set. WordPress.org's order is the database first, then the files.
Your email isn't part of WordPress, so a WordPress backup won't hold your mailboxes. In cPanel, a full account backup does include email for your domains.

How often to back up
WordPress.org suggests once a week for smaller sites with fewer posts, and daily for busy ones. It also advises a backup before every upgrade.
Think about what changes between backups: orders, form entries, new posts and settings. A restore takes your site back to the moment of the backup, so anything added since is lost. We'd back up daily any site that takes orders, bookings or enquiries, because a week's gap is a week of lost work. Take an extra backup just before an update, a redesign or a move to a new host.
Keep copies away from your hosting server
A backup kept only on the same server can disappear with the site. A server fault, a hack or a closed hosting account can take both.
- Keep copies in more than one place. WordPress.org suggests at least 3 to 5 recent backups, kept in different places. For example, keep one on the server, one in cloud storage and one on your own computer.
- Follow the 3-2-1 rule. The NCSC, the UK’s National Cyber Security Centre, describes it as at least 3 copies, on 2 devices, with 1 off site.
- Unplug backup drives. The NCSC has seen ransomware, software that locks files for a ransom, encrypt backup drives that were connected at the time. Disconnect the drive once the copy is made.
- Lock down the account that holds them. The NCSC advises multi-factor authentication on backup accounts: a code from your phone as well as your password.
- Treat a backup like the site itself. It holds your database password and your customers’ details.
When we check a new client's backups, the gap we find most often is [backups kept only on the same server as the site].
How long to keep backups
Problems aren't always spotted on the day they start. Google says it's not uncommon for hackers to hide a hack from the site owner. If every backup you hold was taken after the hack, every one of them contains it.
So count in days, not copies. Five daily backups only reach back five days. For backup services, the NCSC suggests keeping backups for a fixed length of time, rather than a fixed number. It also asks that older versions can't be deleted straight away. Our care plans keep daily backups off the server for [30 days].
![Image to add: Simple diagram: the database and the files make one backup set, copies go off the server and are kept for [30 days], and one is restored to a password-protected staging copy and checked.](https://barruko.co.uk/wp-content/uploads/2026/11/article-image-to-add.png)
Back up with cPanel
If your host uses cPanel, a control panel many hosts provide, its Backup and Backup Wizard tools make copies you can download.
- Full backup: everything in your hosting account, including your website files and the email for your domains. You can’t restore a full backup in one go from cPanel. Your host has to do that.
- Partial backups: your home directory, meaning all your files, and each database, as separate downloads. You can restore these yourself by uploading them. For WordPress, download your home directory and the site’s database together. The database’s name is in wp-config.php, next to DB_NAME.
Save the downloads somewhere off the server, such as your computer and a cloud storage account. A full backup saved to your home directory stays on the same server. cPanel also warns that an account near its storage limit may fail to back up.
Your host's own backups may appear in File and Directory Restoration, if your host has switched it on. Restoring there overwrites the current files. WordPress.org warns that asking a host for a copy from its server backups takes time, just when you want the site back fast.
What to look for in a backup plugin
A backup plugin runs inside WordPress and takes backups on a schedule. Whichever you use, check that it:
- backs up both the database and the files
- sends copies off the server, such as to cloud storage, not just to your site’s own folders
- keeps backups for a set number of days
- tells you when a backup fails
Keep the backup files somewhere you can reach without logging in to WordPress. If the site won't load, the plugin's restore button won't either.
Test a restore on a staging copy
A backup nobody has restored is a hope, not a backup. The NCSC says you should know how to restore yours and check it holds all your important data. A staging copy is a private test copy of your site at a separate address, so the test leaves your live site alone.
- In cPanel, open Domains and create a test address, such as staging.yourbusiness.co.uk. Untick “Share document root”, so the copy gets its own folder.
- Password-protect that folder with cPanel’s Directory Privacy.
- Copy the backup’s WordPress files into that folder.
- Create a new, empty database with the Database Wizard. Open it in phpMyAdmin, the database tool in cPanel, and import the backup’s database file using the Import tab.
- In the copy’s wp-config.php, enter the new database’s name, user and password. Add WP_HOME and WP_SITEURL lines with the test address, as WordPress.org describes for moving a site.
- If your site emails customers automatically or takes payments, get those switched off on the copy before you open it.
- Log in to the copy. Under Settings > Reading, tick “Discourage search engines from indexing this site” and click Save Changes. It’s only a request to search engines, so keep the password on too.
Then check the copy:
- the home page and your main pages load, with no error messages
- the Media Library shows your images, since pictures in your pages may still load from the live site
- you can log in, and your plugins are all there
- the newest post, order or form entry matches the backup’s date
Note the date, which backup you used and what you found. Then delete the copy and its database. We'd test when backups are first set up, then every few months, and whenever the way they're made changes.
If this is more than you want to take on, ask whoever looks after your site to do it and show you the result.
Questions about WordPress backups
Does my web host back up my website?
Ask rather than assume. Check what's included, where the copies are kept, how long for, and whether you can restore one yourself. WordPress.org warns that getting a copy from a host's server backups takes time.
Is a backup plugin enough on its own?
Only if it backs up the database and the files, sends copies off the server, and someone has restored one. If WordPress won't load, its restore button won't help.
Should I back up before updating WordPress?
Yes. WordPress.org advises a backup before every upgrade, as well as on a regular schedule.
Can I test a backup by restoring it over my live site?
Don't. A restore overwrites the current files, and anything added since the backup is lost. Use a staging copy instead.
When to get help
Get help if you can't find your backups, the newest one is older than your schedule allows, or a test restore fails. Our free website health check doesn't look at backups, so for this, call us on 0330 341 3567.
Call 0330 341 3567Care plans and prices
From £80 a month + VAT, with daily backups kept off the server for [30 days], updates, malware scanning and monthly checks. Redesigns, new features, SEO and copywriting aren't included.
Sources we checked (20)
- Backups (what a site consists of; database versus files; backup and restore order; weekly or daily; 3 to 5 copies in different places; host backups take time), WordPress.org Advanced Administration Handbook, checked October 2026
- Backing Up Your WordPress Files (wp-content, wp-config.php, .htaccess; core files can be re-downloaded), WordPress.org Advanced Administration Handbook, checked October 2026
- Backing Up Your Database (what the database holds; back up before an upgrade), WordPress.org Advanced Administration Handbook, checked October 2026
- FAQ Troubleshooting (back up files and database before upgrades), WordPress.org, checked October 2026
- Migrating WordPress (WP_HOME and WP_SITEURL in wp-config.php; new database details), WordPress.org Advanced Administration Handbook, checked October 2026
- options-reading.php, WordPress 7.1 branch (“Discourage search engines from indexing this site”), WordPress core development repository, checked October 2026
- wp-config-sample.php, WordPress 7.1 branch (DB_NAME setting), WordPress core development repository, checked October 2026
- Backing up your data (back up your website; disconnect storage devices; know how to restore and check the data), National Cyber Security Centre, checked October 2026
- Mitigating malware and ransomware attacks (separate offline copies, ideally off site; several copies; test restores; protect previous versions; multi-factor authentication on backup accounts), National Cyber Security Centre, checked October 2026
- Offline backups in an online world (the 3-2-1 rule; ransomware encrypting connected backup drives; regular testing), National Cyber Security Centre, checked October 2026
- Principles for ransomware-resistant cloud backups (keep backups for a fixed time period, not a fixed number; test restores), National Cyber Security Centre, checked October 2026
- Spam policies for Google web search (hackers hiding a hack from the site owner), Google Search Central, checked October 2026
- Backup for cPanel (full and partial backups; full backups restored automatically only in WHM, so by the host; storage limit warning), cPanel documentation, checked October 2026
- Backup Wizard (home directory backups include email; full backups can be saved to the home directory; full backups can’t be restored automatically in cPanel), cPanel documentation, checked October 2026
- Backup Tarball Contents (what a full account backup contains: the home directory, databases and email), cPanel documentation, checked October 2026
- File and Directory Restoration for cPanel (host must enable it; restoring overwrites existing files), cPanel documentation, checked October 2026
- Create a New Domain (creating a subdomain; “Share document root” is permanent), cPanel documentation, checked October 2026
- Directory Privacy (password-protecting a folder), cPanel documentation, checked October 2026
- Database Wizard (creating a database and user), cPanel documentation, checked October 2026
- Import and export (the Import tab; compressed .sql.gz files), phpMyAdmin documentation, checked October 2026