Most site owners know they should have backups. Fewer know exactly what their backups contain, where they are stored, or whether they would work on a bad day. Those questions tend to come up at the worst possible moment: after a failed update, a hacked site or a mistake by a hosting provider.
This guide explains the 3-2-1 backup rule, how to apply it to a WordPress site, and why the place where your backups are stored also matters for data protection.
What a complete WordPress backup contains
A WordPress site lives in two places, and a backup needs both.
- The files. WordPress core, your themes and plugins in
wp-content, all uploaded media inwp-content/uploads, and configuration files such aswp-config.phpand.htaccess. - The database. Posts, pages, settings, users, comments, orders and form entries all live in the database, not in the files.
A backup that only exports the database loses your images. A backup that only copies wp-content loses your configuration. When you check a backup solution, ask exactly what it includes, and whether a restore brings back a working site or only raw material you have to reassemble.
The 3-2-1 rule in plain terms
The 3-2-1 rule is a long-standing principle from IT operations:
- 3 copies of your data: the live site plus two backups.
- 2 different types of storage: for example, your hosting server and a separate backup storage service.
- 1 copy off-site: stored somewhere that is not affected if your main server or provider has a problem.
The idea is to avoid a single point of failure. If the only backup sits on the same server as the site, a disk failure, a ransomware attack or a closed hosting account takes both away at once.
Applying 3-2-1 to a WordPress site
For a typical WordPress site, a practical setup looks like this:
| Copy | Where | Purpose |
|---|---|---|
| 1 | The live site | Daily use |
| 2 | Your host's own backups | Quick rollback after a mistake |
| 3 | An independent off-site backup | Recovery if the host or the server is the problem |
Your host's backups are useful but not enough on their own. They are often kept for a short time, may not be under your control, and can disappear with the hosting account. The independent copy is the one that protects you from the unexpected.
Make sure the off-site copy cannot be deleted from the site itself. If an attacker who controls WordPress can also wipe your backups, they are not really off-site.
How often, and how long to keep them
Frequency should follow how often your site changes. A brochure site updated once a month can live with weekly backups, but daily backups cost little and cover more situations. An online shop or a site with many form submissions should be backed up at least daily, because every order since the last backup is at risk.
Retention is just as important and often overlooked. A break-in is not always noticed straight away. If you only keep the last three days of backups, all of them may already contain the problem. Keeping several weeks of daily backups gives you a realistic chance of finding a clean restore point. Our checklist for a hacked WordPress site shows how to choose that point.
Why the storage location matters
A WordPress backup is a complete copy of your site, including any personal data it holds: customer accounts, orders, newsletter subscribers, messages sent through forms. Where that copy is stored is therefore a data protection question, not only a technical one.
In Switzerland, the revised Federal Act on Data Protection (FADP) came into force on 1 September 2023. It requires appropriate security for personal data and sets conditions for disclosing data abroad. In the European Union, the General Data Protection Regulation (GDPR) sets comparable rules for transfers outside the EU.
Storing backups in Switzerland often simplifies things for Swiss businesses: the data stays under Swiss law, and you avoid the extra analysis that transfers to some other countries require. For businesses that also serve EU customers, it helps that the European Commission recognises Switzerland as providing an adequate level of protection. The exact obligations depend on your activity and the data you process, so check the details with your adviser or the guidance published by the FDPIC.
Two practical questions to ask any backup provider:
- In which country, and with which company, are the backups physically stored?
- Who can access them, and are they encrypted?
Test your restores
A backup you have never restored is a hope, not a plan. Once or twice a year, and after any major change to your hosting, restore a backup to a staging environment and check that the site works: pages load, images appear, you can log in, forms send.
Write down how long it took and what you had to do. When something does go wrong, you will follow a procedure you know instead of improvising. A recent, tested backup also makes routine work less stressful, as our guide on how to update plugins safely explains.