A dependable WordPress backup is more than a scheduled file copy. This guide gives you a repeatable cloud hosting workflow for backing up the database and files, storing copies away from the server, testing restores, and recovering safely after a failed update, migration, or security incident.
Overview
A WordPress site has two primary recovery components: the database and the site files. The database contains posts, pages, comments, settings, users, and much of the configuration created by WordPress and its plugins. The files include the WordPress core installation, themes, plugins, media uploads, configuration files, and any custom code. A useful backup plan protects both.
A full-site backup normally combines a database export with a copy of the relevant files. A database-only backup can be valuable when content changes frequently but the code and media are stored separately. File-only backups may help with a theme or plugin rollback, but they cannot restore recent content on their own.
Cloud web hosting can make backups easier to schedule, store, and restore, but the exact controls differ between providers and plans. Before relying on a hosting dashboard, confirm what is included, how long copies are retained, where they are stored, and whether you can download or independently restore them. A backup that exists but cannot be located, read, or restored is not a complete recovery plan.
Start with a simple recovery objective. Decide how much recent data you can afford to lose and how quickly the site needs to return. A brochure site that changes once a month may have different requirements from an online publication, membership site, or store. These decisions guide the backup frequency, retention period, storage capacity, and level of restore testing.
Checklist by scenario
Routine protection for an active site
- Record the site domain, hosting account, WordPress administrator accounts, database name, and deployment or migration details in a secure location.
- Schedule regular full-site backups at a frequency that matches how often the site changes.
- Use more frequent database backups when content, orders, form submissions, or user accounts change throughout the day.
- Include the
wp-contentdirectory, especially uploads, themes, plugins, and custom files. - Protect the WordPress configuration file and document any environment variables, server rules, or scheduled tasks required by the site.
- Keep at least one copy outside the production hosting account. This may be a separate storage location controlled by the organization.
- Confirm that backups complete successfully rather than assuming that an enabled schedule is working.
Before installing a plugin, theme, or WordPress update
- Create a fresh full-site backup immediately before the change.
- Verify that the backup timestamp is current and that the database and files are both present.
- Note the exact plugin, theme, WordPress, PHP, or configuration change being made.
- Apply the change during a period when someone can check the site and respond if it fails.
- Check the homepage, key landing pages, forms, login flow, media, navigation, and any business-critical function.
- If the update causes a problem, identify whether a targeted rollback is sufficient or whether the site needs a full restore.
Before a migration or domain change
- Take a full backup before copying the site to the new cloud hosting environment.
- Preserve the original site until the new environment has been tested and the cutover is confirmed.
- Record the current DNS records, email records, SSL settings, cron jobs, redirects, and third-party integrations.
- Test the migrated site using a temporary address or staging method before changing public DNS.
- Check serialized data and search-and-replace procedures carefully when changing domains. Use a WordPress-aware method rather than editing database text indiscriminately.
- Keep a rollback plan that explains how to return traffic to the original host if a critical issue appears after cutover.
For related planning, see the domain transfer and cloud hosting cutover checklist and the DNS records reference. DNS changes do not replace backups, and a backup does not preserve every external service configuration.
After accidental deletion or a failed change
- Stop making additional changes until the failure is understood.
- Capture error messages, timestamps, recent administrative actions, and relevant server or application logs.
- Choose the newest clean backup from before the incident, not simply the newest available copy.
- Restore to a staging environment first when time and access allow.
- Compare the restored database, files, media, user access, forms, links, and integrations with the expected state.
- Restore production only after deciding how to preserve any valid data created after the backup.
After suspected malware or unauthorized access
- Do not assume the latest backup is clean. Establish when the unwanted change may have started.
- Preserve evidence before deleting files or repeatedly overwriting the environment.
- Use a known-clean restore point and review administrator accounts, plugins, themes, configuration, and scheduled tasks.
- Rotate hosting, database, WordPress, deployment, and integration credentials after containment.
- Update software from trusted sources and remove unused components.
- Review DNS and SSL settings as part of the recovery. A clean WordPress restore alone does not correct a misrouted domain or compromised external account.
What to double-check
Backup scope
Confirm whether the backup includes the database, uploads, themes, plugins, configuration, custom code, and server-level settings required by the site. Some hosting snapshots cover an entire account, while a WordPress backup tool may cover only selected directories and database tables. Write down the scope in plain language so another administrator can understand it.
Retention and storage
Retention should reflect the site’s change history and recovery needs. A practical schedule may combine frequent recent copies with less frequent older copies. Keep copies in more than one location, and ensure that an account compromise at the hosting provider cannot automatically remove every backup. Check storage limits, encryption options, access permissions, and whether old backups are actually deleted when the retention period ends.
Restore compatibility
A backup may depend on the PHP version, database engine, web server settings, filesystem permissions, or plugin versions present when it was created. Document these dependencies where they matter. If the hosting provider offers one-click restoration, learn whether it replaces the live site, creates a separate copy, or restores only selected components.
Staging and verification
A restore test should go beyond checking whether the homepage loads. Test administrator login, publishing, media uploads, forms, search, redirects, scheduled tasks, email delivery, payment or membership functions, and analytics where applicable. Check the site on mobile and desktop, and inspect the browser console or server logs for errors.
Use the cloud hosting website speed checklist after a restore if performance is important. A recovery can bring the site back online while still leaving caching, DNS, or resource settings misconfigured.
Ownership and access
At least two authorized people should know where backups are stored and how to start a restore. Keep recovery instructions separate from the server being protected. Passwords and recovery keys should be stored in an appropriate password manager or secrets system, not in a public document or inside the backup directory.
Common mistakes
- Keeping backups on the same server only. A server failure, account lockout, or destructive action can affect both the site and its backup copies.
- Backing up files but not the database. This can restore the code while losing recent content, settings, users, or transactions.
- Assuming hosting snapshots cover everything. Confirm the snapshot scope, retention, restore process, and access requirements with the provider.
- Never testing a restore. The first restore should not happen during an outage. Schedule a controlled test and record the result.
- Overwriting the only working copy. Preserve the original environment before attempting a migration or complicated repair.
- Restoring malware without investigating it. A contaminated restore point can reintroduce the same problem.
- Forgetting DNS and email. WordPress files and database content do not automatically preserve domain records, mail routing, third-party verification, or external integrations. Use the managed DNS troubleshooting guide when checking these dependencies.
- Failing to document the recovery. Record what was restored, from which timestamp, by whom, and what was tested. This makes the next incident faster to manage.
When to revisit
Review the backup workflow before seasonal planning cycles, major campaigns, migrations, ownership changes, and high-impact WordPress or hosting updates. Revisit it whenever the site adds a store, membership system, forms, new integrations, custom code, or a second environment.
Set a recurring audit rather than relying on memory. During each audit, verify that scheduled jobs ran, storage remains available, off-site copies are accessible, retention still matches the business requirement, and at least one recent restore has been tested. Review who has access to hosting and backup storage, then remove accounts that are no longer needed.
Use this short action list:
- List the database, files, DNS, email, integrations, and credentials required to recover the site.
- Confirm the current hosting backup feature and its actual scope.
- Choose a schedule and retention policy based on how quickly the site changes.
- Save an encrypted off-site copy outside the production account.
- Test a restore in staging and record the result.
- Update the procedure after every migration, tool change, or recovery event.
For capacity and hosting decisions, the cloud hosting capacity planning guide can help you reassess storage and resource needs as the site grows. A backup workflow is complete only when the team can find a clean copy, restore it in a known environment, verify the important functions, and explain the next step.