Every website owner eventually faces a problem: a failed update, a hacked site, an accidental deletion or a server fault. A recent, recoverable backup can reduce data loss and downtime, but recovery time depends on the incident and the restore process.
What to back up
- Website files: themes, plugins, uploads and configuration files.
- Databases: posts, users, orders and settings.
- Email: if you host mailboxes with your site.
- DNS records and configuration notes: they make a rebuild much faster.
How often should you back up?
It depends on how often your content changes. Decide how much recent data you can afford to lose and how quickly you need to recover. A rarely changed site and an active store need different schedules. Back up before major changes, and consider more frequent database backups for orders or other fast-changing data.
The 3-2-1 rule
Keep 3 copies of your data, on 2 different types of storage, with 1 copy stored off-site. If your server and its local backups are lost together, an intact, accessible off-site copy can make recovery possible.
Backup methods
- Hosting-level backups: confirm whether they are included, how often they run, how long they are retained, where they are stored and how to request a restore.
- Plugins or tools: flexible and can send copies to cloud storage.
- Manual backups: useful before big changes, but easy to forget.
Test your restores
A backup is only useful if it works. At least a few times a year, restore a copy to a test environment and confirm that the site loads and the data is complete.
The CISA StopRansomware Guide recommends offline, encrypted backups and regular testing. Keep a protected copy separate from production credentials where practical.
Protect your backups
Encrypt backups that contain personal data, restrict who can access them, and do not store them in a public web folder.
Common mistakes
- Keeping backups only on the same server
- Never testing a restore
- Backing up files but forgetting the database
- Keeping too few versions, so a problem that went unnoticed is saved in every copy
Conclusion
Set up automatic backups, store a copy off-site, keep several versions, and test a restore. Document the restore steps and responsibilities before an incident. A backup plan reduces risk; it cannot promise that data will never be lost.

