Quick answer: A solid website backup strategy copies your files and database on a schedule you can explain, stores at least one copy somewhere other than the live server, and proves restores work with a real test. Daily backups suit most business sites that change often. Keep several versions, encrypt sensitive copies, and document who runs a restore when something breaks.
Why backups fail when you need them
Most sites that “had backups” still go down hard for one of these reasons:
- Backups lived on the same disk as the live site, so disk failure took both
- Only files were copied, or only the database, never both together
- The schedule stopped after a hosting move and nobody noticed
- Restores were never practiced, so the team discovered missing tables under pressure
- Credentials for offsite storage expired and jobs failed silently
A backup is not a checkbox in a plugin screen. It is a small operations system: what you copy, how often, where copies live, how long you keep them, and how you bring a site back.
What to include in every backup
For a typical CMS site (WordPress or similar), you need:
- Database. Posts, pages, users, settings, WooCommerce orders and form entries live here. Without it, files alone are a hollow theme.
- Uploads and media. Images, PDFs and other files in the uploads directory.
- Themes and custom code. Especially anything not reinstallable from a public repo in one click.
- Must-have config. Know how you will recreate
wp-config.phpor equivalent with fresh secrets. Do not casually email that file around. - A note of versions. PHP version, CMS version and critical plugin list at backup time help when you restore onto a new host.
You can usually omit regenerable caches and huge log folders. Backing up cache directories wastes space and can restore stale junk.
If you run custom apps beside the CMS, include their data stores and env templates in the same plan. Treat the whole property, not only the blog.
How often to back up
Match frequency to how painful a day of lost work would be:
- High-change stores and membership sites: at least daily database backups, often more frequent if orders arrive around the clock
- Typical marketing sites: daily is a sensible default
- Rarely updated brochure sites: several times a week can be enough, but daily still costs little on modern hosts
Also take a manual backup before risky work: major plugin updates, theme swaps, migrations and bulk imports. Automated jobs do not replace a known-good snapshot five minutes before you touch production.
Keep a retention ladder, for example:
- Daily copies for 7 to 14 days
- Weekly copies for a month or two
- One monthly copy for longer rollback when a quiet problem surfaces late
Exact numbers depend on storage cost and compliance needs. The principle is simple: one copy is not enough history when corruption sat unnoticed for a week.
Where backups should live
Follow a practical version of “more than one place”:
- Not only on the production server. If ransomware, a bad deploy or a host outage hits that machine, on-server copies may vanish with it.
- Offsite object storage or a second provider. Many backup plugins and host tools can push to S3-compatible storage, another cloud region or a different host account.
- Access limited to people who need restore rights. Shared credentials in a chat thread are how backups leak customer data.
Hosting panels often offer snapshots. Use them as one layer, not the only layer. Snapshots can be excellent for whole-server rollback and still leave you stuck if you need a single table from last Tuesday and the panel only keeps a few images.
For WordPress specifically, pair hosting choices with security habits. Our WordPress hosting comparison and WordPress security checklist cover the environment backups sit inside.
Plugins, host tools and custom jobs
You have three common patterns:
Host-managed backups. Simple when the host is reliable and restores are documented. Confirm what is included (files and database), retention and how you download a copy for safekeeping elsewhere.
CMS backup plugins. Useful when you need scheduled offsite pushes and granular restores. Watch for jobs that time out on large sites. Split file and database jobs if needed. After major CMS updates, re-check that schedules still run. WordPress 5.5 (August 2020) expanded auto-updates; keep backup jobs healthy when core and plugins move. See WordPress updates for how release channels work.
Custom scripts. Fine for teams that already automate servers. Use locked-down keys, encrypted transfer and monitoring on job success. Custom does not mean “set once and forget.”
Whatever you pick, turn on failure alerts. A backup system that fails quietly is worse than none, because it creates false confidence.
Test restores on a schedule
A backup you have never restored is a hope, not a plan. Practice:
- Provision a staging site or local environment
- Restore database and files from a recent copy
- Update URLs and secrets for the staging host
- Click through login, checkout or lead forms, and a few key templates
- Note how long the restore took and which steps were confusing
Run a full practice at least quarterly, and after any major infrastructure change. Partial tests (restore only uploads, or only one table) help too when you are debugging a single failure mode.
Document the steps in a short runbook: who has access, where credentials live, which DNS or TLS steps matter, and how you communicate downtime. When the site is down, nobody wants to invent process from memory.
Security and privacy around backups
Backups contain customer names, emails, order history and sometimes payment-related metadata. Treat them as sensitive:
- Encrypt archives at rest when your tooling supports it
- Use HTTPS and secure transfer to offsite storage (HTTPS migration habits apply to admin and transfer endpoints too)
- Limit download access
- Decide how long personal data may live in old backup sets under your privacy policy
- Wipe retired disks and cancelled storage buckets on purpose
Login hardening reduces how often you need emergency restores. Practical steps live in our WordPress login security guide. Monitoring helps you notice compromise earlier; see WordPress uptime and malware monitoring.
What a bad day looks like (and how backups help)
Failed update. Roll back files and database to the pre-update snapshot, then update in staging first next time.
Malware in uploads. Restore clean files from before infection, rotate passwords and keys, and patch the entry point. Do not restore a known-infected archive onto a cleaned server without scanning.
Accidental deletion. Pull a single content export or table from yesterday instead of rebuilding pages by hand.
Host outage or account issue. If you hold offsite copies, you can stand up the site elsewhere while you resolve the host problem.
Backups do not replace security, staging or change control. They limit how long pain lasts when other layers fail.
A simple strategy you can adopt this week
- Confirm what your host already backs up and for how long
- Add an automated daily job that includes database plus uploads and theme or custom code
- Send copies offsite to storage you control
- Keep at least seven daily versions and a few weekly ones
- Take a manual snapshot before every major change
- Schedule a restore drill on staging within 30 days
- Write a one-page restore runbook and store it where the team can find it during an outage
- Review job logs monthly
That list is enough for most small and mid-size business sites. High-compliance environments will add encryption standards, audit logs and longer retention. Start with the basics and prove restores before you optimize tooling.
FAQ
Are host backups enough by themselves?
They are a strong first layer. Keep your own offsite copy anyway so a billing dispute, panel bug or regional storage issue is not your only story.
Should I back up plugins and WordPress core?
You can reinstall core and many plugins from known sources. Still include custom plugins, paid plugins you cannot quickly re-download, and a manifest of versions. Many teams back up the full site for simpler restores.
How long should I keep backups?
Long enough to recover from problems you might notice late (quiet database corruption, a bad content edit found after a week). Balance that against storage cost and how long you should retain personal data.
Do static marketing sites need the same plan?
Yes, scaled down. Even a simple site needs files and any form or CMS data protected. Static generators still need the repo, build secrets and DNS documented.
Survive the bad day on purpose
A website backup strategy is successful when you can restore without heroics. Copy files and databases together, store at least one set off the live server, watch for job failures, and practice restores before an emergency. If you want help tightening hosting, security and recovery plans around your CMS, see Turn visitors into customers.