A backup is only useful if you can restore it within an acceptable time and recover the data your website actually needs. This practical cloud hosting disaster recovery workflow shows how to test website backups, verify database and file integrity, measure recovery time, and document the steps your team should follow when a restore is necessary.
Overview
Cloud hosting providers often offer automated backups, snapshots, or restore points, but the presence of a backup option does not prove that your website can be recovered. A backup may exclude uploaded files, use an outdated retention window, depend on a separate database service, or restore successfully without preserving the permissions and configuration your application requires.
A useful restore test answers five questions:
- Scope: Does the backup contain the website files, database, media, configuration, and other required components?
- Freshness: How much recent work would be lost if you restored the newest available copy?
- Integrity: Can the backup be opened and used without corruption or missing dependencies?
- Recovery time: How long does it take to restore, configure, test, and make the site available?
- Repeatability: Can another authorized person follow the documented process without relying on one administrator’s memory?
Before testing, define two targets. The recovery point objective (RPO) is the maximum amount of data you are prepared to lose, such as the time since the last usable backup. The recovery time objective (RTO) is the maximum acceptable time to return the site to service. These targets do not need to be identical for every website. A brochure site, online store, membership platform, and internal application may require different backup frequency and restoration procedures.
For WordPress, a complete recovery commonly includes the WordPress core files, themes, plugins, uploads, configuration, and database. Review the WordPress Hosting Backup and Restore Guide alongside your provider’s current documentation, since backup scope and restoration controls vary by hosting plan.
Checklist by scenario
1. Before the first restore test
- Record the site’s domains, hosting account, database name, application version, and deployment method.
- List the components that must be recovered: site files, database, uploads, environment variables, scheduled jobs, certificates, DNS records, and email-related records.
- Review the backup schedule, retention period, storage location, encryption controls, and access permissions.
- Identify whether backups are stored separately from the production server. A backup on the same infrastructure may not be available after a provider, account, or storage failure.
- Choose a restore point that represents a realistic recovery case. Record its timestamp and the expected RPO.
- Prepare a staging destination or isolated server. Do not overwrite production during an initial test.
- Confirm who can approve a restore and who can access backup credentials. Avoid placing secrets in shared notes or application files.
2. Testing a website or WordPress restore
- Restore the files and database into the isolated environment using the provider’s documented process.
- Note the start and finish times. Include time spent waiting for support, transferring files, changing settings, and validating the application.
- Check that the database imports without errors and that the application connects using the intended credentials.
- Open representative pages, including the homepage, contact form, login area, search, media library, and any transaction or booking flow.
- Confirm that recent uploads, posts, orders, user accounts, and other business-critical records are present.
- Check file ownership and permissions. The web process should be able to read and write only where the application requires it.
- Review application logs, PHP or runtime errors, scheduled task output, and failed asset requests.
- Verify that plugins, themes, extensions, and application versions are compatible with the restored database.
- Confirm that the restored site is not sending real customer email, accepting live payments, or exposing private data to the public.
3. Testing DNS, SSL, and email dependencies
A website restore is not complete if the application works only through a temporary server address. Document the DNS records required for the site, including A, AAAA, CNAME, TXT, and any provider-specific verification records. The DNS records reference can help identify which records support web traffic and which belong to email or verification services.
- Test the restored site through the intended hostname in an isolated or controlled manner.
- Confirm that the SSL certificate covers the hostname and that HTTP redirects behave as expected.
- Verify that MX, SPF, DKIM, and DMARC records remain managed in the correct DNS account.
- Check contact forms and transactional email using a safe test mailbox.
- Review third-party integrations that depend on allowlists, callback URLs, API keys, or fixed IP addresses.
If the restore includes a domain change or hosting migration, follow a separate change plan. The guide on pointing a domain to cloud hosting without breaking email covers the dependency between web records and mail records.
4. Testing a full disaster-recovery path
After a staging restore works, conduct a tabletop or controlled recovery exercise. Start with the incident assumption: production is unavailable, the normal administrator is unavailable, or the latest server cannot be trusted. Have the assigned operator locate the backup, restore it, apply the documented DNS and configuration changes, and perform the validation checks without undocumented shortcuts.
Record the final RTO, the effective RPO, failed steps, missing credentials, and decisions that required specialist knowledge. Turn each problem into an update to the runbook, backup configuration, or access policy.
What to double-check
- Backup completeness: A database-only backup cannot restore media files, and a file-only backup cannot restore orders, accounts, or content stored in the database.
- Retention versus business needs: Confirm that the available restore points cover the period your organization may need to recover. Retention limits can change when a hosting plan or backup product changes.
- Consistency: For frequently updated sites, check whether files and databases were captured in a coordinated way. An uncoordinated copy may contain mismatched application state.
- Off-site access: Test access to any external backup storage independently of the production hosting account.
- Secrets and keys: Determine where environment variables, API credentials, SSH keys, license keys, and encryption keys are stored. They may not be included in ordinary website backups.
- Permissions: Confirm that the operator can restore data without having unnecessary permanent administrative access.
- DNS control: Make sure the person responsible for recovery can access the authoritative DNS hosting service. If DNS is held at a registrar or separate managed DNS provider, include that account in the runbook.
- Monitoring: Ensure uptime checks, error alerts, and logs are enabled after recovery. A site can appear online while forms, payments, queues, or scheduled jobs remain broken.
Common mistakes
Assuming a successful backup job means a successful backup. A green status may confirm that a process ran, not that every required table, file, or external dependency is restorable. Perform an actual restore and inspect the result.
Testing only the homepage. The homepage can load while the database is incomplete, uploads are missing, forms fail, or authenticated areas return errors. Use a short list of business-critical journeys instead.
Restoring directly over production. This can destroy the current state and make diagnosis harder. Use staging or an isolated recovery environment until the process is understood.
Ignoring email and DNS. Website files and mail records are often managed separately. Changing a web record without checking MX and related records can interrupt email. Review the domain’s complete configuration before making DNS changes.
Relying on one person. A disaster plan that exists only in an administrator’s head is difficult to execute during an incident. Store a current runbook in an access-controlled location and include escalation contacts.
Failing to measure time. Without timestamps, teams may overestimate their recovery capability. Measure restore, configuration, validation, DNS changes, cache clearing, and communication as separate steps.
When to revisit
Schedule a restore test on a recurring basis that matches the website’s risk and change rate. A quarterly review is a practical starting point for many sites, while frequently updated or business-critical applications may need more frequent validation. Revisit the workflow before seasonal planning cycles, major campaigns, expected traffic increases, or high-risk application updates.
Run an additional test after any of these changes:
- Moving to a new cloud hosting provider, server, database, or backup product.
- Changing hosting plans, retention settings, storage destinations, or backup schedules.
- Changing the domain registrar, authoritative DNS provider, SSL process, or email provider.
- Adding a payment system, membership feature, customer portal, or other critical integration.
- Changing WordPress core, plugins, themes, runtime versions, deployment tooling, or database structure.
- Changing staff access, credentials, encryption keys, or recovery responsibilities.
Keep a dated test record containing the restore point, scope, measured RPO and RTO, validation results, unresolved issues, and the next review date. Recheck provider features and retention limits whenever the hosting plan changes. For related operational reviews, see the domain portfolio management checklist and the SSL certificate setup and renewal guide.
Action checklist: choose an isolated restore destination, select a known backup, record the expected RPO and RTO, restore the files and database, test critical user journeys, verify DNS and email dependencies, document every failure, and schedule the next test. A backup becomes part of a dependable disaster recovery plan only after this workflow has been exercised and improved.