A dependable website backup strategy does more than create copies of files: it preserves the database, configuration, domain-related settings, and recovery instructions you need when something goes wrong. This guide explains how often to back up a website, what to store offsite, how to choose recovery targets, and how to test a restore before an emergency makes the decision for you.
Overview
A website backup is useful only when it is recent, complete, accessible, and proven to restore. A copy stored on the same hosting account may not help if the account is compromised, the server fails, or an administrator accidentally deletes the backup along with the site. An offsite website backup adds separation by placing a recoverable copy in different storage, such as cloud storage for websites.
Begin by defining two recovery targets:
- Recovery point objective (RPO): the maximum amount of recent data you are prepared to lose. An RPO of 24 hours means the backup plan should normally leave no more than a day of changes unrecoverable.
- Recovery time objective (RTO): the target time for restoring the website to an operational state. This includes locating the backup, rebuilding the environment, restoring data, and checking the result.
| Website situation | Typical planning direction | What to confirm |
|---|---|---|
| Low-change brochure site | Daily or weekly backups may be appropriate if content changes are infrequent. | That the latest pages, media, forms, and configuration are included. |
| Active blog or publishing site | Daily backups, with more frequent database protection during busy publishing periods. | That posts, comments, user data, and media can be restored together. |
| Online store or membership site | Frequent backups or transaction-aware protection to reduce the RPO. | Orders, accounts, inventory, payment-related configuration, and application settings. |
| Client or business-critical site | A documented schedule, offsite copies, and regular restore tests. | Who can approve recovery, where credentials are stored, and how the site will be validated. |
These are planning examples rather than universal rules. The right schedule depends on how frequently the website changes, how costly lost data would be, and how quickly the site must return to service.
What to track
Use a backup-planning worksheet for each website. Record the following fields in a location that remains available if the hosting account is unavailable:
- Site and environment: domain name, hosting provider, hosting type, operating system, control panel, CMS, application version, and production or staging status.
- Files: application files, themes, plugins, uploads, custom scripts, generated assets, and any files outside the normal document root.
- Databases: database engine, database names, credentials location, export format, and the relationship between each database and its website.
- Configuration: environment variables, web server rules, PHP or runtime settings, scheduled tasks, deployment configuration, and dependency version information. Do not place secrets in an ordinary checklist; record where they are securely managed.
- Domain and DNS: registrar, renewal date, nameservers, DNS records, mail routing, verification records, and the person or team responsible for DNS management.
- Security and access: SSL certificate renewal method, administrator accounts, backup encryption settings, recovery keys, and a process for revoking compromised credentials.
- Backup evidence: timestamp, backup type, size, destination, completion status, retention date, checksum or integrity result where available, and the last successful restore test.
For WordPress, a practical WordPress backup plan normally includes the database, the wp-content directory, configuration files, custom themes, plugins, uploads, and any server-level rules that affect the site. A database-only export will not recreate uploaded media or theme customizations. Conversely, a file-only copy may omit posts, settings, users, and orders.
Keep at least one backup destination separate from the production hosting account. Consider access controls that limit who can delete backups, encryption for stored and transferred data, and retention that protects against accidental deletion or ransomware. A backup that is writable by every production administrator is easier to create but may be easier to destroy after an account compromise.
Cadence and checkpoints
Set the backup frequency from the site’s change rate and RPO rather than choosing a schedule by habit. A useful starting pattern is:
- Before change: create and verify a backup before CMS upgrades, plugin changes, theme edits, DNS changes, migrations, or bulk content operations.
- Daily: protect active databases and sites that receive regular publishing, registrations, comments, or orders.
- Weekly: review backup completion, storage capacity, failed jobs, and whether retention is working as intended.
- Monthly: perform a test restore in an isolated environment and compare the result with the website backup checklist.
- Quarterly: review recovery targets, access permissions, domain and DNS records, documentation, and the ability of another administrator to follow the recovery process.
If backups run through a hosting control panel or scheduled task, inspect the job history rather than assuming that a configured job succeeded. A cron-based backup can fail because of changed paths, expired credentials, insufficient storage, permissions, timeouts, or a software update. See the cron jobs guide for a broader review of scheduled hosting tasks.
Use a retention pattern that matches the website’s history and risk. For example, a small blog might retain recent daily copies and several older weekly copies. A store may need a longer window so an issue discovered later can be investigated without overwriting every earlier version. A client site may require an agreed retention period and a written record of who can authorize deletion. Avoid keeping every backup indefinitely without checking storage capacity, privacy requirements, and whether old copies contain outdated credentials or personal data.
How to interpret changes
Backup monitoring is not limited to a green or red job status. Look for changes that indicate either a real site update or a problem:
- A sudden increase or decrease in backup size may reflect a media upload, log growth, missing directories, compression changes, or a failed file-selection rule.
- A database export that completes unusually quickly may be incomplete, especially after a CMS or database configuration change.
- Repeated authentication failures often point to expired access credentials or changed storage permissions.
- A growing gap between backup timestamps and current site activity means the actual RPO is worse than the planned RPO.
- A successful backup with no successful restore test is evidence of copying, not evidence of recoverability.
Follow this website restore checklist during a controlled test:
- Choose a recent backup and record its timestamp, source, destination, and expected contents.
- Restore it to isolated hosting or a local test environment, never directly over production.
- Recreate the required runtime, database, storage permissions, scheduled tasks, and configuration without exposing private data.
- Restore files and database content, then confirm that the application connects to the intended database.
- Test the homepage, representative internal pages, forms, authentication, media, search, checkout or membership flows, email behavior, redirects, and SSL.
- Check DNS and domain documentation separately. A website copy cannot restore an expired domain, incorrect nameservers, or missing mail records.
- Record the elapsed recovery time, failures, missing components, and actions needed to improve the next test.
Keep production recovery separate from performance and uptime monitoring. For related operational checks, use the website uptime monitoring workflow and the website-down troubleshooting checklist.
When to revisit
Review the plan monthly and perform a fuller review at least quarterly. Revisit it immediately before a migration, hosting change, major CMS release, database change, domain transfer, or redesign. It also needs attention after a failed backup, an unsuccessful restore, a security incident, a change in traffic or transaction volume, or a decision to alter retention.
At each review, ask:
- Does the backup frequency still meet the site’s actual change rate and RPO?
- Can the team meet the RTO with the available hosting, credentials, documentation, and personnel?
- Are files, databases, configuration, DNS details, SSL procedures, and domain renewal information accounted for?
- Is at least one copy isolated from ordinary production access?
- Was a restore completed recently, and did the restored site pass functional checks?
- Have storage usage, retention, encryption, and deletion permissions changed?
Update platform-specific instructions whenever the hosting platform or CMS changes, and refresh the worksheet every six months even if the site appears stable. A practical next step is to schedule the next backup review and restore test now, assign an owner, and store the completed results with the site’s operational documentation. That recurring discipline turns cloud storage from a passive archive into a usable website recovery plan.