A website backup is only useful if it can be found, opened, and restored when the site is under pressure. This guide explains how to build a practical website backup schedule, choose retention periods, protect backup files, and run recovery tests that prove your plan works.
Overview
A website disaster recovery plan should answer four operational questions: what is being backed up, where the copies are stored, how long they are retained, and how the site will be restored. A hosting dashboard may offer automated snapshots, while a content management system may have its own export or backup tools. These options can complement one another, but they should not be treated as interchangeable until you have tested the result.
Start by documenting the complete recovery scope. For most websites, this includes the site files, database, uploaded media, configuration files, environment variables, scheduled tasks, domain settings, and email-related DNS records where relevant. A backup of only the visible site files may not include the database or settings needed to reproduce the site. Likewise, a database export alone may omit images, themes, plugins, or application code.
Define two recovery targets before choosing a schedule. The first is the maximum acceptable amount of recent data that could be lost. The second is the amount of time the site can remain unavailable during recovery. These targets do not need to be expressed as complex service-level commitments. A small brochure site might prioritize a simple daily copy, while a site receiving orders, registrations, or frequent submissions may need more frequent backups and a documented restoration process.
For hosting-specific considerations, see the Cloud Hosting Backup and Restore Testing Guide. If you are changing providers, keep backups separate from the migration workflow and review the Website Hosting Migration Guide before switching DNS.
What to track
Backup coverage
Maintain an inventory of the systems that need protection. Record whether each item is covered by a provider snapshot, an application-level export, a manual copy, or more than one method.
- Web files: application code, themes, extensions, images, documents, and generated assets.
- Database: posts, products, accounts, settings, form submissions, and other dynamic records.
- Configuration: environment settings, deployment files, rewrite rules, secrets, and scheduled tasks. Store sensitive values securely rather than placing them in an unprotected document.
- Operational records: domain registrar details, DNS records, SSL configuration notes, hosting access instructions, and the location of the latest known-good backup.
DNS is not normally restored from a website file backup. Keep a separate, current record of important DNS entries and their purpose. The DNS Records Explained guide can help you document records used for the website, email, verification, and related services.
Backup health
For every scheduled job, track its last successful run, backup size, storage location, encryption status, and retention expiry. A successful task notification does not necessarily prove that the archive is complete or usable. Check whether the file can be downloaded, whether it opens, and whether it contains the expected site components.
Retention options
| Policy | Useful for | Trade-off to review |
|---|---|---|
| Short rolling retention | Low-change informational sites | Older mistakes or delayed discoveries may be harder to undo. |
| Daily copies with weekly and monthly points | Many small businesses and active sites | Requires more storage and periodic cleanup. |
| Event-based snapshots plus scheduled backups | Sites undergoing updates, migrations, or major content changes | Snapshots can create false confidence if they are not independently tested. |
| Long-term archive | Records that must be retained for operational or organizational reasons | Archives need access controls, clear labeling, and a documented restore method. |
Retention should reflect how quickly a problem might be discovered. A corrupted update may not be noticed immediately, so retaining only the newest copy can remove the recovery point you actually need. Label copies with the site name, environment, date, and whether they were verified.
Security controls
Protect backups as carefully as the live website. Use access controls that limit who can view or delete them, encrypt copies during transfer and storage where the platform supports it, and keep at least one recovery copy in a separate location from the primary hosting account. Do not place database exports or configuration files in a publicly accessible web directory. Review who can access backup storage whenever team membership or hosting permissions change.
Cadence and checkpoints
Use the following schedule as a starting point, then adjust it to the rate of change and consequences of data loss.
- On every significant update: Create a known-good backup before changing the CMS, extensions, theme, application code, DNS, or server configuration. Record what is changing and where the backup is stored.
- Daily or at an appropriate interval: Run automated backups for sites with regular content, transactions, submissions, or account activity. Confirm that the latest job completed and that the backup size has not changed unexpectedly.
- Weekly: Review recent backup status, storage capacity, failed jobs, and access notifications. Download or inspect a representative archive when the platform permits it.
- Monthly: Test a restoration in a separate staging environment or isolated location. Verify the homepage, representative content, media, forms, user access, integrations, and scheduled tasks.
- Quarterly: Review the retention policy, recovery instructions, responsible contacts, encryption settings, and provider limitations. Confirm that domain, DNS, SSL, and hosting access details are still accurate.
- After an incident: Preserve relevant backups, identify the last known-good point, document the recovery steps, and create a fresh backup after the site has been stabilized.
A recovery test should not overwrite the production site. Use an isolated destination, restrict access to copied data, and remove temporary test credentials afterward. If a provider offers one-click restoration, test that workflow rather than assuming the button will behave as expected during an outage or configuration change.
How to interpret changes
Trends in backup records often reveal operational problems before a visible failure occurs. A sudden increase in archive size may indicate uploaded media growth, log files being included, or an unintended directory being captured. A sudden decrease may mean that a database, media folder, or configuration path is no longer included. Investigate both changes instead of judging a backup only by whether the job reports success.
Repeated failures should be treated as an incident in the backup process. Check storage limits, credentials, permissions, network errors, excluded paths, and database consistency. If the provider's backup system cannot cover a required component, add an independent export or change the recovery design. Record the limitation and the workaround in the runbook.
During a restore test, compare the recovered site with the production checklist rather than checking only whether the homepage loads. Confirm that internal links work, images appear, forms deliver to the intended destination, authentication behaves correctly, background jobs run safely, and the SSL and domain configuration are documented. Test data should remain isolated so a recovery exercise does not send real notifications or alter live records.
Recovery time is also a useful measurement. Note when the test begins, which steps require manual work, where credentials are needed, and how long DNS or SSL changes could take in your environment. If the process depends on one person remembering undocumented steps, it is not yet a dependable recovery plan. Convert those steps into a short runbook with links to the relevant hosting, registrar, DNS, and application dashboards.
When to revisit
Review this plan monthly for active websites and at least quarterly for low-change sites. Revisit it immediately after a hosting move, domain change, CMS or application update, major redesign, new payment or form integration, security event, or change in the people responsible for site operations. The domain renewal checklist and SSL troubleshooting guide are useful companions when access, DNS, or certificate details change.
Make the next review practical: open the backup log, identify the newest verified copy, check its contents, and schedule a restore test. Then update the recovery runbook with any missing step. Before a planned launch or migration, take a fresh snapshot and confirm that the domain, DNS, and SSL notes are current. For recurring automation, review scheduled tasks using a documented expression rather than relying on memory; the Cron Expression Guide can support that check.
A backup plan is complete only when another authorized person can locate a suitable copy and follow the restoration steps without guesswork. Track coverage, retention, security, and successful tests as recurring operational checks—not one-time setup tasks—and your website recovery process will remain useful as the site and its hosting environment change.