A website can disappear in minutes: a failed update, a hacked plugin, a server fault or an accidental deletion. A good backup turns that disaster into a short delay. A bad or missing one can end a business website.
This guide explains the 3-2-1 backup rule and how to apply it to your website.
What Is the 3-2-1 Rule?
- 3 copies of your data: the live site plus two backups.
- 2 different storage types, such as your hosting server and a cloud storage service.
- 1 copy off-site, away from your hosting account.
If your hosting company has a problem, an off-site copy still saves you.
What to Back Up
- The database, which holds pages, posts, orders and users.
- Uploaded files and images.
- Theme, plugin and custom code files.
- Configuration files and server settings.
- Email accounts, if hosted with your website.
How Often Should You Back Up?
It depends on how often your content changes:
- Online stores and busy sites: daily, or even hourly for the database.
- Business sites with regular updates: daily.
- Mostly static sites: weekly, plus before every update.
Where to Store Backups
Use cloud storage such as Amazon S3, Google Drive or another provider, separate from your host. Encrypt sensitive backups and protect access with strong passwords and two-step verification.
Do Not Rely Only on Your Host
Hosting backups are helpful, but they sit on the same account. If the account is suspended, hacked or deleted, those backups may go with it. Read about picking the right plan in choosing the right hosting.
Test Your Restores
A backup you have never restored is only a hope. At least twice a year, restore a backup onto a test site and check that pages, forms and logins work. Our WordPress maintenance checklist includes this step.
Backups and Security
Backups are your last line of defence after a hack. See the steps in our guide on how to fix a hacked WordPress site.
Simple Backup Plan Example
- Daily automatic backup of files and database.
- Copy sent to cloud storage in another region.
- Keep 30 days of history.
- Extra backup before updates or major changes.
- Restore test every six months.
Frequently Asked Questions
Are backup plugins enough?
They are a good start if they send copies off-site and you test them. Server-level backups add another layer.
How long should I keep backups?
Thirty days is common. Stores with many orders may keep longer.
Do backups slow down my site?
Well configured backups run at quiet times and have little effect on visitors.