keepcalculator

06 Numbers and Powers

How to Back Up Your WordPress Site

Card No. 06·56156 · Updated · Standard formula, shown below

A WordPress backup gives you a way to restore your site if an update fails, files are damaged, or content is accidentally deleted. You need copies of both the site’s files and its database; this guide explains how to make and check a backup using your host, a plugin, or a manual method.

What You’ll Need

  • Administrator access to WordPress, your hosting account, or both, depending on the method.
  • A storage location separate from the website, such as your computer or a reputable cloud storage account. Make sure it has enough free space.
  • For manual backups, access to your hosting file manager or SFTP and database management tool, plus the database name and credentials if requested.
  • A little time to confirm that the backup files are complete and can be downloaded.

Step-by-Step

  1. Choose what to back up. A complete WordPress backup includes the database and the site files. The database holds posts, pages, comments, settings, and other content. Files include WordPress core, themes, plugins, uploads, and configuration. Back up both for a full restore. If your host also manages email, DNS, or other services, check whether those need separate backups.
  2. Check your hosting backup options. Sign in to your hosting control panel and look for a section named Backup, Backups, or Site Tools. Options differ by host. If available, create an on-demand backup and confirm whether it includes both files and the database. Download a copy to separate storage; a backup kept only on the same hosting account could be lost with the site.
  3. Alternatively, use a WordPress backup plugin. From the WordPress dashboard, open Plugins > Add New Plugin, search for a backup plugin, and check its current documentation, compatibility information, and storage options. Install and activate your chosen plugin. Follow its setup screen to select both the database and files, then choose a destination that is not solely the website’s own server. Plugin menus vary, so use the plugin’s instructions rather than assuming every screen is identical.
  4. Set a schedule that fits how often the site changes. A site that receives frequent orders, registrations, or new posts needs more frequent database backups than a rarely updated site. Schedule file backups when themes, plugins, or uploads change. If your tool offers separate schedules, set them accordingly. Keep multiple dated backup points so an unnoticed problem does not leave you with only a damaged copy.
  5. Make a manual copy if you cannot use the other options. In your host’s file manager or through SFTP, download the WordPress installation files, including wp-content and wp-config.php. Treat wp-config.php as sensitive because it contains database connection details. In your host’s database tool, select the database used by the site and export it as an SQL file. The database name is often shown in wp-config.php; do not share that file publicly. If you are unsure which database belongs to the site, ask your host before exporting.
  6. Store and label the backup safely. Save the database export and file archive together in a dated folder, for example site-backup-2026-11-07. Keep at least one copy away from the hosting account, and consider a second independent location for important sites. Use access controls and encryption where available, because backups can contain personal data, credentials, or private content. Do not put them in a public web folder.
  7. Verify that the backup completed. Check the backup tool’s status and confirm the files exist, have plausible sizes, and include the database export. Download the archive and make sure it opens; an interrupted upload or empty archive is not a usable backup. Keep the database export separate from the file archive if your tool creates them separately.
  8. Test restoration before relying on it. The safest check is to restore a copy to a staging site or local test environment, not over the live site. Follow your host’s or plugin’s restore instructions and verify that pages, images, logins, and important functions work. If you do not have a test environment, ask your host about a safe restore test. A backup is only dependable if it can be restored.

Common Mistakes

  • Backing up only the files or only the database: Either alone may be insufficient for a complete restoration.
  • Keeping the only copy on the same server: Hosting failure, account access problems, or a security incident could affect both the site and its backup.
  • Assuming a scheduled job succeeded: Check its latest completion status and periodically verify the actual files.
  • Ignoring changing content: An old backup may omit recent orders, comments, or posts. Choose a schedule based on how much data you can afford to recreate.
  • Overwriting the live site during a test: Restore tests can replace current content. Use staging or a separate environment and confirm the destination before proceeding.
  • Leaving backup archives publicly accessible: Archives can expose site data and configuration details. Store them outside public web access and restrict sharing.

Tips

  • Keep several dated restore points rather than deleting every older backup as soon as a new one is made.
  • Before major WordPress, theme, or plugin updates, create an extra backup and confirm it completed.
  • Document where backups are stored, how to access them, and the steps required to restore. Keep recovery instructions somewhere other than the site.
  • Check the retention and storage limits of your host or plugin. A backup schedule is not useful if old copies disappear sooner than expected.
  • After changing hosting providers, database credentials, or backup settings, run a fresh backup and verify it.

Troubleshooting

The backup fails or stops partway through: Check available hosting and storage space, the tool’s error log, and whether the site has unusually large files. Exclude only files you understand and do not omit uploads or the database from a full backup. Ask your host to check server limits if the failure continues.

The archive will not download or open: Retry the download on a stable connection and compare the local file size with the stored copy when possible. Create a fresh backup if the archive appears incomplete. Do not treat a failed or unreadable archive as your only copy.

The database export is missing: Confirm that the backup includes the correct database and that the database export step completed. If you have multiple sites or databases, check the site’s database name in its configuration file without publishing its credentials.

A restore produces errors or a blank site: Stop before making further changes to the live site. Check that the files and database came from the same backup date, and follow the restore tool’s requirements for database selection and file paths. Contact your hosting provider or a WordPress professional if you are not certain how to proceed.

Frequently Asked Questions

How often should I back up my WordPress site?
Choose a frequency based on how often content changes and how much recent data you can afford to lose. Frequent transactions or user submissions call for more frequent database backups.

Do I need to back up both files and the database?
Yes, for a full site backup. The database contains site content and settings, while files contain themes, plugins, uploads, and WordPress configuration.

Can my hosting provider back up my site?
Many hosts offer backups, but features and retention vary. Check what is included, how often backups run, how long they are kept, and how to download or restore them.

Where should I store WordPress backups?
Keep a copy separate from the website’s hosting account, such as on secure local or cloud storage. Restrict access because backup files may contain sensitive information.

How can I tell whether a backup works?
Check that it completed, download and open its files, and test a restore on a staging or separate environment. Merely seeing a successful message does not prove the backup can be restored.

Will a backup protect my site from every problem?
No. It provides a recovery point, but it does not prevent attacks or guarantee that every issue can be fixed. Keep copies separate, secure them, and test restoration regularly.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →