Quick answer: To back up a WordPress website properly, save both the website files and its database, keep at least one copy outside the live hosting account, retain multiple restore points and test the restore process on a staging site. A database-only export will not include every theme, plugin and uploaded file, while a files-only copy will not preserve posts, pages, settings and order records. A complete backup set needs both parts created close enough together to represent a consistent version of the site.
Backups are often treated as a task that can be postponed until after a problem occurs. That is too late. A failed plugin update, accidental deletion, compromised account, server failure or migration mistake can affect a website without warning. This guide explains how to plan a WordPress backup, compare common methods, use cPanel or a backup plugin, restore a copy safely and decide how often to repeat the process. It is written for small businesses and site owners who want a practical recovery plan rather than a complicated enterprise system.

What is included in a complete WordPress backup?
A WordPress website stores information in more than one place. The database usually contains posts, pages, comments, users, settings, product records and many plugin-generated records. The file system contains WordPress core files, themes, plugins, uploaded images, documents, custom code and configuration files. The database and files work together to display the site. If you save only one side, you may not have enough information to rebuild the website in the same condition.
For most sites, a complete backup includes the database export, the WordPress files required by the installation and any additional files stored outside the normal WordPress folders. Your hosting environment may also contain email accounts, DNS settings, cron jobs or other services that are not included in a WordPress plugin backup. Identify what your website depends on and ask the host which parts are covered by account-level backups. Do not assume that a website backup automatically includes business email or domain registration.
Why backups matter for a business website
A backup is a recovery point. It gives you a way to return to a known version after an accidental change, a failed update or a security incident. For a brochure website, losing a week of edits may be inconvenient. For an online store, losing orders or customer records from the same period may create operational and financial problems. A booking site may need to preserve appointments and availability. The value of the data determines how frequently it should be backed up.
Backups also reduce the risk of routine maintenance. Before updating WordPress, a theme or a critical plugin, create a fresh copy. If the update breaks a form or checkout flow, you can investigate and roll back rather than rebuilding from memory. A backup does not replace staging, testing or security controls, but it gives the team another option when a change goes wrong. Keep the recovery process documented so that the business is not dependent on one developer remembering where a file was saved.
Choose a backup schedule based on how often the site changes
There is no single schedule that fits every website. Consider how often content, orders, customer accounts and bookings change, and how much recent information the business could afford to lose. A static portfolio might need a weekly database backup and regular file backups. A store receiving orders throughout the day may need more frequent database protection. Confirm the exact schedule offered by your plugin or host, including whether it performs incremental backups and what happens when a job fails.
| Website type | Possible starting schedule | Additional protection |
|---|---|---|
| Small brochure site | Weekly database and file backup | Before updates and content redesigns |
| Active business blog | Daily database; weekly full files | Keep several dated restore points |
| Lead-generation site | Daily or more frequent database | Test forms and preserve enquiry records |
| WooCommerce store | Frequent database protection plus regular files | Use a WooCommerce-aware backup and test order restoration |
| Membership or booking site | Frequent database protection | Coordinate backups with user activity and transactions |
Understand the difference between full, incremental and database backups
A full backup copies the files and database needed for a complete recovery. It is straightforward to understand but may take more time and storage for a large website. An incremental backup stores changes made since an earlier backup, which can reduce storage and transfer time. However, restoration may depend on a chain of earlier backup points, so you need to understand how the tool reconstructs the selected version. A database backup preserves content and records but does not necessarily include themes, plugins, images or custom files.
Some tools offer file-only, database-only, full and incremental schedules. Read the labels carefully. A backup job described as “database every hour” is not necessarily a full website backup every hour. For an e-commerce site, frequent database protection may be important because orders and customer records change often, while large media files may not change as frequently. Make sure the backup provider supports the specific tables and data used by the plugins in your store.
Where should you store WordPress backups?
Keep at least one backup copy away from the live hosting account. If the server fails, the account is compromised or storage is deleted, a copy stored only on that same account may disappear with the website. Common destinations include a reputable cloud storage service, a separate backup server or an encrypted offline copy held by the business. Choose a destination with access controls, reliable retention and a recovery process that the owner can use.
Separate the backup account from the website login. Use a unique password and MFA where supported, and restrict who can view or delete backup files. If backups contain customer information, treat them as sensitive data. Encrypt them where the selected system supports it, avoid public sharing links and follow the business’s retention policy. Do not store database exports in a public uploads folder or leave temporary backup archives in a web-accessible directory after a migration.
How to back up WordPress using a backup plugin
A reputable backup plugin or managed backup service can automate scheduled copies and make it easier to manage remote storage. Before installing one, check whether it supports your WordPress version, large media libraries, multisite or WooCommerce data if relevant. Review what it backs up, where copies are stored, how long they are retained and whether restoration requires a paid licence. Confirm that the plugin is maintained and that the storage account belongs to the business.
After setup, create an initial full backup and wait for the job to finish. Review the log rather than assuming that the schedule is working. Check the database and file components, the timestamp, file size and remote destination. If the plugin supports email alerts, send them to an inbox that someone monitors. Run a restore test on a staging copy and confirm that the resulting website includes pages, images, settings and important plugin data. A backup plugin is only useful when the backup can actually be recovered.
How to back up WordPress through cPanel
Many shared hosting accounts provide cPanel tools for downloading website files and exporting a database. The exact menu names vary by hosting provider and cPanel version. Before starting, confirm the correct document root for the domain and identify the database name from the WordPress configuration. If you are unsure which directory or database belongs to the site, ask the host rather than downloading or changing files at random.
Step 1: Download the website files
Open File Manager and navigate to the WordPress installation directory, commonly a folder such as public_html or a domain-specific directory. Select the files and folders needed for the installation, including wp-content, wp-admin, wp-includes and the relevant root configuration files. Create a compressed archive if the hosting account supports it, then download the archive to a secure computer or separate storage destination. Avoid including unrelated account files or exposing the archive through a public URL.
Step 2: Export the database
Open phpMyAdmin from cPanel and identify the database used by the WordPress installation. The database name is usually listed in wp-config.php under DB_NAME, but do not share the file publicly because it contains sensitive credentials. Select the correct database, choose Export and use a format such as SQL. For larger databases, the host may recommend a compressed export or a command-line method. Save the export alongside the matching file backup and record the date and time.
Step 3: Keep the backup set together
Give the archive and database export clear names that include the website and backup date. Store them in a protected location and note the WordPress version, PHP version and any special configuration needed for recovery. Do not rely on the same cPanel account as the only storage destination. If the site uses custom code outside the WordPress directory, identify and back up those files too. Keep a record of where the copy is stored and who is authorized to access it.
How to back up a WordPress website before an update
Before a major WordPress, theme or plugin update, confirm that a recent backup exists and create a new restore point if the last copy is not current. For a complex site, create the backup immediately before the change so that it reflects the live database and files. Test the update on staging where possible. Record which versions will change, what workflows need testing and how the team will roll back if the change causes a serious issue.
Do not start several unrelated changes at once. If you update the theme, PHP version, caching plugin and page builder simultaneously, it becomes difficult to identify which change caused a problem. Apply a controlled set of updates, test the homepage and key pages, submit forms and test checkout or bookings. If the update succeeds, keep the backup according to the retention policy rather than deleting it immediately. If it fails, use the tested recovery method and document the reason.
How to restore a WordPress website from a backup
A restore replaces some or all of the current website with a previous version. It can overwrite content, orders, user records or settings created after the selected backup. Before restoring, identify the problem, confirm the backup date and decide whether the database or files alone need to be restored. If new orders or enquiries arrived after the backup, preserve those records where possible before a full rollback. For a live store, coordinate the restore with the business owner and hosting provider.
Step 1: Prepare a safe restore environment
Whenever possible, restore the backup to a staging site or isolated environment first. Confirm the domain or temporary URL, database credentials and PHP compatibility. Keep the staging site private and prevent search engines from indexing it. Disable outgoing email or payment processing on the test copy so that it does not send real customer messages or create real transactions. This gives you a chance to check the backup without affecting the live website.
Step 2: Restore files and database consistently
Use the backup tool’s restore workflow or the host’s documented process. A manual restore usually involves placing the website files in the correct directory and importing the matching database export. If the site has moved to a different domain, URLs and configuration may need to be updated using a WordPress-aware migration method. Do not perform blind search-and-replace operations in serialized database data because that can corrupt settings and page-builder content.
Step 3: Test the restored website
Open the homepage, service pages, blog posts and important landing pages. Check images, menus, forms, login, search and any store or booking workflows. Review the WordPress dashboard for plugin errors and database update notices. Check that permalinks resolve correctly and that HTTPS works. For WooCommerce, verify products, stock, orders, payment settings and transactional email behavior without placing an uncontrolled live order. Only move the restored site to production when the owner has approved the checks.
What to do if a backup restore fails
Do not repeatedly overwrite the live site with the same failed archive. Record the error message, backup timestamp, file size and restore stage where the process stopped. Confirm that the archive is complete and not corrupted, that the database export matches the files and that the destination has enough storage and compatible PHP or database versions. A large database may exceed phpMyAdmin’s upload limits and require a host-assisted import or command-line method.
If the backup tool reports missing files or unsupported tables, contact the provider or hosting support with the exact error. Preserve the current site state before further attempts, especially if new customer records may be lost. For a compromised site, do not restore an unverified backup that may contain malware. Ask a security specialist to identify a clean restore point and investigate the original entry point before bringing the website back online.
How many backups should you keep?
Retention should reflect the amount of data, storage budget and the time it might take to discover a problem. Keeping only the latest backup is risky because the newest copy may already contain a compromised file or an accidental deletion. A simple policy might retain daily copies for a short period, weekly copies for several weeks and monthly snapshots for longer-term recovery. The exact periods depend on business needs and applicable privacy or recordkeeping requirements.
Keep backup copies in more than one location when the site is important to the business. A useful approach is to maintain an automated remote copy and a separately controlled recovery copy. Review who can delete backups, whether old copies expire automatically and whether the storage account is protected by MFA. Periodically test an older backup, not only the newest one, because the newest copy may not be the right recovery point after a problem that went unnoticed for several weeks.
Backup considerations for WooCommerce and membership sites
Stores and membership websites change continuously. Orders, payment statuses, customer profiles, bookings, stock levels and subscriptions may be written to the database while a backup is running. A restore can therefore roll back recent transactions or create inconsistencies if the backup is not designed for the platform. Ask whether the backup solution understands WooCommerce data and how it handles orders placed after the selected restore point.
For a busy store, consider more frequent database backups or a service that can restore files while preserving newer orders and customer records. Test the exact workflow on staging and document how staff should handle orders that arrive during maintenance. Never test a restore on the live store without an approved maintenance window and a clear recovery plan. Review the WooCommerce launch checklist and the website maintenance service for related operational checks.
How to test backups without risking the live site
Use a staging environment or a separate test installation. Restore the backup, check that WordPress loads, and verify that the database and files are in sync. Test a sample of pages, media files, plugins and critical workflows. If the site uses a form or store, disable live email and payment connections in staging so that tests do not affect customers. Record the restore duration, missing components and any manual steps needed to complete the process.
A restore test should also confirm that the business can access the storage account and understands the recovery instructions. A backup stored under a former contractor’s account may technically exist but be unavailable when the business needs it. Review access at least quarterly and whenever a supplier relationship changes. If restoration depends on a licence or support subscription, record the renewal date and the alternative process if that service becomes unavailable.
Common WordPress backup mistakes
The most common mistake is saving only the database or only the files. Other problems include storing the only copy on the same server, never checking whether scheduled jobs succeeded, retaining only one restore point, failing to include custom code, forgetting to protect database exports and assuming that a backup plugin covers email or DNS. Another frequent mistake is testing a restore on the live website, which can overwrite the current data and create a second incident.
Make the backup process specific. Write down what is included, how often it runs, where copies are stored, how long they are retained, who receives failure alerts and how a restore is tested. If any of those questions has no answer, the backup plan is incomplete. A short documented process is better than a complex tool that nobody checks or understands.
A simple WordPress backup policy for a small business
Assign an owner for backup monitoring and a second person who can access recovery instructions. Set the schedule based on data changes. Keep database and file backups together, store copies away from the live server and protect them with separate credentials. Review successful job logs weekly. Test a full restore on staging quarterly and after changing backup software or hosting. Before major updates, create an additional restore point and verify that it is available.
Keep a short record of backup dates, storage locations, restore tests and unresolved errors. Do not put passwords in the log. If a backup fails, treat it as a maintenance issue that needs resolution rather than an alert to dismiss. If your team does not have time to manage the process, a maintenance provider can monitor backups and document recovery readiness. Amaad.me can help review WordPress maintenance, hosting and recovery requirements through the contact page.
Frequently asked questions
How do I back up a WordPress website?
Back up both the WordPress files and database. Use a maintained backup plugin, a hosting backup service or a manual cPanel process. Store at least one copy outside the live hosting account and test a restore on staging.
Is backing up the WordPress database enough?
No. The database contains content and settings, but it does not normally include all themes, plugins, uploaded images and custom files. A full recovery needs both the database and the files that make up the website.
How often should I back up WordPress?
Choose a schedule based on how often the site changes and how much data the business can afford to lose. A static site may need weekly copies, while a store or booking website may need frequent database backups.
Where should I store WordPress backups?
Keep at least one copy in a separate cloud or backup storage account rather than only on the same hosting server. Protect the storage account with a unique password and MFA, and restrict who can delete or download the files.
Can I restore WordPress without cPanel?
Yes. Many backup plugins and managed hosting providers offer a restore interface. You may also restore through SFTP and database tools if you have the required access. Follow the provider’s instructions and test the result in staging.
Will restoring a backup delete new orders or enquiries?
A full database restore can remove records created after the backup timestamp. For stores and booking systems, preserve newer transactions where possible and use a restore method designed for the platform. Coordinate the process with the business owner.
How do I know if my backup works?
Restore it to a staging site and check that pages, media, settings and important workflows function. A successful backup notification does not prove that the archive is complete or that the business can restore it.
Should I back up before every WordPress update?
Yes, confirm a recent complete backup before important updates and create a fresh restore point before major changes. Test complex updates on staging first and keep the backup until the live site has passed its checks.
Can a backup restore a hacked WordPress site?
Only if the backup is clean and predates the compromise. Investigate the entry point, replace compromised credentials and update vulnerable software before returning the restored site to production. An infected backup can reintroduce the problem.
Does a WordPress backup include email accounts?
Usually not. WordPress backups generally cover site files and the database. Business email, DNS, domain registration and other hosting services may require separate backup or recovery arrangements. Confirm the scope with your provider.
WordPress backup and restore checklist
Confirm that the database and website files are included. Set backup frequency according to the site’s activity. Keep several dated restore points. Store at least one copy outside the live hosting account. Protect backup storage with separate credentials and MFA. Review job logs and failure alerts. Create an extra backup before major updates or migrations. Test restoration on staging. Disable live email and payment actions on the test copy. Record the recovery steps and the person responsible. Review the policy whenever the website, hosting provider or business workflow changes.
Official resources
WordPress Developer Resources: Backups
WordPress Developer Resources: Backing up WordPress files
WooCommerce: Backing up WordPress content
WooCommerce: How to update WooCommerce
Editorial note: Backup frequency and retention are operational recommendations. Confirm your host’s actual backup coverage, restore limits and storage terms before relying on them for business continuity.
