Website Backup and Restore Runbook: Retention Plans, Testing, and Recovery Steps
backupsdisaster recoveryWordPresswebsite maintenancewebsite security

Website Backup and Restore Runbook: Retention Plans, Testing, and Recovery Steps

BBengal.cloud Editorial Team
2026-12-01
7 min read

A practical website backup and restore runbook covering retention, off-site copies, access controls, testing, and recovery steps.

A backup is useful only if you can recover the right website data within the time your business can tolerate. This runbook gives you a practical website backup strategy: what to copy, how long to retain it, how to protect access, and how to test a restore before an emergency makes testing impossible.

Overview

Website backup and restore planning is more than scheduling a recurring file export. A reliable plan must account for the complete service: application files, databases, uploaded media, configuration, email where applicable, DNS information, certificates, and the credentials needed to restore everything. It should also define who can start a recovery, which restore point to use, and how success will be confirmed.

Start by documenting two recovery targets:

  • Recovery point objective (RPO): the maximum amount of recent data you can afford to lose. A site updated once a week may tolerate a different backup frequency from an online store or publishing workflow.
  • Recovery time objective (RTO): the time within which the site should be usable again. This affects hosting, staff availability, restore procedures, and whether a staging or emergency environment is prepared.

Your backup policy should then answer five basic questions: what is backed up, where copies are stored, how long they are kept, who can access them, and how often a restore is tested. A backup that exists but cannot be located, decrypted, or applied to a working environment should not be treated as a proven recovery option.

For WordPress, the minimum recovery set normally includes the WordPress files, the database, themes, plugins, uploads, and configuration values. For a custom application, include source or deployment artifacts, environment configuration, persistent storage, database data, and a documented dependency list. If your site uses a separate email host, payment provider, object-storage bucket, or external DNS service, document those dependencies even when their data is backed up by another provider.

Checklist by scenario

Routine website backup

  • List every production domain, subdomain, application, and hosting account.
  • Back up the database separately from files when the platform supports it, so each component can be inspected and restored.
  • Include uploaded media, generated assets, user-submitted files, logs needed for investigation, and scheduled-task configuration where relevant.
  • Record the backup time, source environment, software version, and retention date.
  • Keep at least one copy outside the primary hosting environment. A separate location reduces dependence on one account, server, or storage system.
  • Encrypt backups in transit and at rest when the tool and storage system support it.
  • Restrict backup access to the people and service accounts that need it, and protect administrative accounts with strong authentication.

Backup retention policy

Choose retention by business risk rather than by a default setting. A simple policy can combine several windows:

  • Short-term copies: frequent backups for recent mistakes, failed updates, or accidental deletion.
  • Medium-term copies: daily or weekly restore points for issues discovered after several days.
  • Longer-term copies: periodic snapshots retained for historical or operational needs, subject to your legal and privacy requirements.

Write down whether retention is measured from creation date or last successful backup, and what happens when storage is full. Do not allow automatic rotation to remove every older copy before someone notices that new backups have failed.

Before a major update or migration

  • Take a fresh backup immediately before changing WordPress core, plugins, themes, application code, databases, hosting, or DNS.
  • Confirm that the backup completed successfully and identify its exact location.
  • Capture current DNS records, SSL configuration, PHP or runtime versions, scheduled jobs, redirects, and environment variables.
  • Record the current application and database versions so you can distinguish a restore problem from a compatibility problem.
  • Use a staging environment to test the change where possible. The staging environment setup guide provides a workflow for safer testing.
  • Define a rollback decision before the change begins, including who approves it and which restore point will be used.

After an outage or suspected compromise

  • Preserve relevant logs and note the time the issue began before overwriting the environment.
  • Confirm whether the problem is an application failure, hosting failure, DNS issue, expired certificate, data corruption, or security incident.
  • Do not restore blindly over a potentially compromised environment. Isolate affected systems and review access credentials first.
  • Select a restore point that predates the suspected problem, while checking what recent legitimate data may be lost.
  • Restore into a clean or isolated environment when possible, then verify the site before directing users to it.
  • After recovery, rotate exposed passwords, API keys, database credentials, and administrator sessions as appropriate.

For DNS-related recovery, keep a current record of A, CNAME, MX, TXT, and verification records. The DNS records reference guide can help organize those dependencies. Certificate details also belong in the recovery record; use the SSL certificate troubleshooting workflow when HTTPS is part of the incident.

What to double-check

The most important backup test is a restore test, not a green status label. At a planned interval, copy a selected backup into a staging or isolated environment and verify the result.

  1. Choose a restore point and record its timestamp.
  2. Restore the database and files using the same general procedure intended for an emergency.
  3. Apply required configuration without exposing secrets in tickets, screenshots, or shared documents.
  4. Check the homepage, representative internal pages, forms, login flows, media, search, redirects, and any transaction or integration workflow.
  5. Confirm that database character encoding, file permissions, scheduled tasks, and background workers behave as expected.
  6. Measure how long the restore takes and note every manual step or missing dependency.
  7. Document the outcome, including the backup used, test environment, defects found, and corrective action.

Also double-check ownership and access. The person who can restore a site should not be the only person who knows where backups are stored. Keep recovery instructions in a protected location that remains accessible if the primary hosting account is unavailable. Review hosting, domain, and administrator ownership records alongside the domain portfolio management checklist.

If the site has email hosting, clarify what is and is not covered. Website files may be backed up while mailbox data is managed separately by an email provider. Record mailbox recovery contacts, retention settings, and export procedures rather than assuming a website restore will bring back email.

Common mistakes

  • Backing up only the public files: Without the database, dynamic content, settings, and user data may be missing.
  • Keeping every copy on one server: A host failure, account lockout, or destructive event can affect both the site and its backups.
  • Never performing a restore test: Incomplete archives, incompatible versions, missing credentials, and undocumented steps often appear only during recovery.
  • Using an unclear retention rule: A policy that says “keep regular backups” does not identify which restore points remain available or when they expire.
  • Ignoring secrets and access: Backup archives can contain sensitive data. Limit access, protect storage, and rotate credentials after suspected exposure.
  • Forgetting DNS and certificates: A restored application may still be unreachable if records, HTTPS configuration, redirects, or email routing are missing.
  • Restoring directly over production: A staging restore provides a safer opportunity to validate files, content, and integrations before switching traffic.
  • Failing to record changes: A backup without timestamps, version details, and environment notes can be difficult to interpret months later.

When to revisit

Review this runbook monthly if the site changes frequently, and at least on a regular operational cycle for lower-change websites. Run a restore test after changing hosting, backup software, storage location, domain configuration, database version, deployment process, or administrator access. Repeat the review before seasonal traffic periods, major campaigns, platform upgrades, and planned migrations.

Use this short action list for the next review:

  1. Inventory current sites, domains, databases, media stores, email dependencies, and third-party integrations.
  2. Confirm the latest successful backup and verify that an off-site copy exists.
  3. Check retention, storage capacity, encryption, access permissions, and account recovery options.
  4. Restore one recent backup into an isolated environment and record the actual recovery time.
  5. Update the runbook with changed credentials, versions, DNS records, contacts, and rollback steps.
  6. Assign an owner and a due date for every unresolved issue.

A tested, documented recovery process turns website backup from a passive storage task into an operational safeguard. Revisit it whenever the website or its infrastructure changes, and especially before making changes that would be difficult to undo.

Related Topics

#backups#disaster recovery#WordPress#website maintenance#website security
B

Bengal.cloud Editorial Team

Technical Editorial Team

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.