Website backups: the 3-2-1 rule for small business sites
A website backup guide for small businesses: what to back up, the 3-2-1 rule, how often, how long to keep copies, and how to test that a restore works.
Design, web and motion studio in Dubai
A good website backup copies everything needed to rebuild the site: the files, the database and any email hosted on the same server. Follow the 3-2-1 rule: keep three copies of your data, on two different kinds of storage, with one copy off-site, away from your hosting company. Then prove it works by restoring it.
This guide explains what to back up on WordPress, Shopify and custom sites, how often, how long to keep each copy, and how to run a restore test without risking the live site.
Key takeaways
- A complete website backup includes the files, the database and, if it lives on your host, your email.
- The 3-2-1 rule: three copies of your data, on two different kinds of storage, with one copy kept off-site.
- Keep backups for weeks, not days: a hack can go unnoticed long enough to infect every recent copy.
- A backup you have never restored is a hope, not a plan; test one every quarter on a staging copy.
What a complete website backup includes
A website is more than the pages you see. To rebuild it after a hack, a failed update or a server failure, you need every part that makes it work.
| Part | What it holds | Where it usually lives |
|---|---|---|
| Files | Theme, plugins, uploaded images and documents, configuration | Your hosting account |
| Database | Pages, posts, products, orders, customers, form entries, settings | A database on your hosting account |
| Mailboxes and their history | Your host, or a separate service such as Google Workspace or Microsoft 365 | |
| DNS records | Where your domain points, and your email authentication records | Your registrar or DNS provider |
| Logins and licences | Admin accounts, licence keys, API keys | A password manager |
Files and database belong together
Back up the files and the database at the same moment. A database from Tuesday with files from Friday can produce a broken site. And do not skip the last two rows: an export or screenshot of your DNS records takes minutes and saves hours if they are ever deleted.
If your email sits on the same hosting account as the website, as it often does with budget hosting, check that mailboxes are included in the backup, because many backup tools leave them out.
The 3-2-1 rule in plain English
The 3-2-1 rule is a long-standing IT principle that suits websites well, because it protects against several kinds of failure at once.
- 3 copies: the live site counts as one, plus at least two backups.
- 2 kinds of storage: for example your host's backup system and a cloud storage service, so one failure cannot destroy both.
- 1 off-site: at least one copy held completely outside your hosting account, ideally under a different login.
Why the off-site copy matters most
Host backups sit with the site. If the hosting account is hacked, suspended over a billing problem, or the host itself fails, those backups can disappear along with the site. Some IT teams extend the rule to 3-2-1-1-0: one extra copy that cannot be changed or deleted, and zero errors when a restore is tested.
How often to back up, and how long to keep copies
Match backup frequency to how often the site changes. The question to ask is simple: how much work, or how many orders, could we afford to lose?
| Type of site | How often | Keep for |
|---|---|---|
| Brochure site, rarely edited | Weekly, and before every update or change | At least one to three months |
| Site with a blog or regular edits | Daily | 30 days of daily copies, plus monthly copies for a year |
| Online store or booking site | At least daily; more often for the database if orders come in all day | 30 days of daily copies, plus monthly copies for a year |
| Any site, before a big change | A manual backup right before you start | Until the change has proved stable |
Retention protects you from slow-burn hacks
Retention, meaning how long you keep old copies, matters as much as frequency. Malware often sits quietly for weeks before anyone notices, so if you only keep seven days of backups, every copy may already be infected. A mix of recent daily copies and older monthly ones gives you a clean point to return to. Take an extra manual copy before any move to a new host or platform, as our website migration guide recommends.
How to back up on your platform
Each platform splits the job differently between you and the provider. Find yours below.
WordPress and WooCommerce
Most hosts take automatic backups; check how often, how long they are kept, and whether you can download them. Then add a backup plugin, such as UpdraftPlus or one of its alternatives, that sends copies to cloud storage under the business's own account. For busy stores, choose a tool that backs up the database often, so a restore does not lose recent orders.
Shopify
Shopify runs and protects the platform, but undoing your own mistakes is your job: a bulk edit gone wrong, a deleted product, a theme change that broke the layout. Duplicate your theme before editing it, and export products, customers and orders as CSV files on a schedule. Backup apps in the Shopify App Store can automate this. Our guide to importing products with a CSV file shows how a product export goes back in.
Custom and Next.js sites
The code should live in version control such as Git, so every change is recorded. That covers the code only. The database, uploaded media and the settings stored on the server (environment variables) need their own backups, and the settings belong in a password manager, not in a file on one person's laptop.
Wix, Squarespace and other builders
The platform backs up its own servers, and some builders let you restore an earlier version of your site. Check what yours offers, and keep your own copies of page text, images and form submissions.
Test your restores
Backups fail silently: the job times out, the storage fills up, a large folder is excluded, or nobody knows the password to the backup account. The only proof that a backup works is a restore.
Once a quarter, restore your latest backup to a staging copy, never over the live site, and check it properly.
Quarterly restore test
- Restore the most recent backup to a staging copy or a temporary address.
- Check the homepage, several inner pages and the images load.
- Log in to the admin area.
- Check recent content is present and, for stores, recent orders.
- Submit a form and confirm the email arrives.
- Note how long the restore took, from start to working site.
- Write down the steps, so someone else could follow them under pressure.
- Delete the test copy, or keep it password-protected and hidden from search engines.
When to restore for real
Restoring is not always the first move when something breaks. Our guide to the WordPress critical error shows when a backup is the right answer and when a smaller fix will do.
Where to store backups safely
A backup is only as safe as the account it sits in. Attackers who get into a site sometimes try to delete its backups too, so treat the backup storage like a vault.
- Use a cloud storage account owned by the business, not a developer's personal account.
- Protect it with a strong, unique password and two-factor authentication.
- Limit who can delete backups, and keep at least one copy that the website itself cannot reach.
- Encrypt backups that contain customer data, and keep the key in your password manager.
- Save a note of your backup settings, so you can rebuild the schedule if the site is lost.
Customer data in backups
Backups that hold customer details are personal data too. Rules on how long you may keep it and where it may be stored differ by country and change over time, so check with a qualified adviser if you hold sensitive information.
Next steps
Backups are one part of a wider routine: our website security checklist covers the rest, and our guide to what to do when a website is hacked shows where a clean backup fits into recovery. If you would rather not run any of this yourself, our website fixes and care plans start from $49 and include regular backups, or you can book a free 20-minute call to talk it through.
Frequently asked questions
Are my web host's backups enough?
Usually not on their own. Host backups are stored with your site, so a hacked or suspended hosting account, a billing problem or a failure at the host can take them too. Many hosts also keep copies for only a short time. Treat host backups as one copy, and keep at least one more off-site in an account the business controls.
How long does it take to restore a website from a backup?
For a small WordPress site with a working backup, often under an hour. Large stores, slow storage or backups that turn out to be incomplete can take much longer. The only way to know your own number is to run a test restore on a staging copy and time it, so you can plan around it.
Should I back up my website before updating plugins?
Yes, every time. Most hosts and backup plugins can take an on-demand backup in a few clicks. If an update breaks the site, you can roll back in minutes instead of troubleshooting under pressure. For big updates, apply them on a staging copy first, then repeat on the live site once they work.
How much does a website backup service cost?
Often very little in money. Many hosts include automatic backups, good backup plugins have free or low-cost versions, and cloud storage for a small site is inexpensive. The real cost is the time to set backups up, check them and test restores, which is why backups are a standard part of most care plans.
The Dawnwire Agency Deck
Our process, what each service includes, how we price and hand over, and a selection of real client work, in one free deck.