The short answer
To back up a WordPress website, save the database, the wp-content folder, wp-config.php and .htaccess, and keep one copy away from your host. A plugin such as UpdraftPlus does it on a schedule, and File Manager plus phpMyAdmin does it by hand. A backup counts only after you restore it to a test copy and watch the site load.
What to know
- A backup you have never restored is a guess. Restore it to a test copy once and watch the site load.
- A full backup is the database plus the wp-content folder, wp-config.php and .htaccess. WordPress core can be downloaded again.
- Host backups come with limits. Bluehost's help page calls its service a courtesy and gives no backups to suspended accounts.
- CISA's 3-2-1 rule: 3 copies, 2 kinds of storage, 1 copy off-site.
- Updates, two-factor login and a cap on login attempts make a restore less likely to be needed.
A WordPress backup is two things: the database, which holds your pages, posts and settings, and the files in wp-content, which hold your theme, plugins and uploads. Your host can take them, a plugin like UpdraftPlus can send them to Google Drive or Dropbox on a schedule, and you can copy them by hand with File Manager and phpMyAdmin. All three are below. Then comes the step that proves any of them works: restoring the copy onto a test site to see what comes back. The drill that follows walks through it. If your site is down right now and you need a restore today, call (425) 314-1415.
Work through it
Test your restore
Tick a line only when you have seen the answer with your own eyes. Your ticks stay in this browser, so you can come back and finish later.
0 of 9 done
What a full WordPress backup contains
WordPress keeps a site in two places: files on the server and a database beside them. WordPress.org's backup guide says you need both to fully restore a typical site. Downloading the site folder does not capture the database, because the database is stored separately from the web files.
| Piece | What is in it | Without a backup |
|---|---|---|
| Database | Pages, posts, menus, comments, and the settings of your theme and plugins | Gone. This is your content, and no download replaces it. |
| wp-content folder | Your theme, your plugins and everything in the media library: photos, PDFs, logos | Uploads and any theme someone edited are gone. Stock plugins can be downloaded again. |
| wp-config.php and .htaccess | The database name and login, and the rewrite rules behind your page addresses | Rebuildable only if you can still get the database name and password from your host. |
| WordPress core (wp-admin and wp-includes) | The WordPress software itself | Replaced by a fresh download from WordPress.org. |
Three ways to take the backup
Set up the first two and keep the third for the moments that call for it. A host copy and a plugin copy cover each other's weak spots, and the manual copy is the one to make by hand before an update or a move. WordPress's own plugin guide says to have a current backup before updating plugins.
What your host's backups cover
Look in your hosting control panel for a section called Backups. In cPanel it sits under Files, then Backup. Whatever you find there, read what the host promises, because the promise can be small. Bluehost's help page calls its backup service a courtesy, says Bluehost is not liable for files or data stored on your account, and says backups are not given to suspended or terminated accounts. Namecheap's cPanel guide says a full cPanel backup on its Stellar and Reseller packages is restored by emailing support, while Stellar Plus and Stellar Business owners restore it themselves in cPanel. Your host's terms will differ from both. Get answers to these before you lean on them:
- How many days back do the copies go, and does each new run overwrite the last?
- Where are they stored, and can you download one to your own computer?
- Who performs a restore, you or support, and does a restore request carry a fee?
- What happens to the copies if the account is suspended, or you move to another host?
Use a plugin like UpdraftPlus to send copies off-site
UpdraftPlus lists more than 4 million active installs on WordPress.org. The free version can send copies to Google Drive, Dropbox, Amazon S3 and FTP, among others. Destinations such as OneDrive, Backblaze and SFTP belong to the paid version.
- 01In wp-admin go to Plugins, then Add New, search for UpdraftPlus, click Install Now and then Activate.
- 02Find UpdraftPlus. Newer versions put it in the left-hand WordPress menu. Older ones, and the vendor's own tutorial, use Settings, then UpdraftPlus Backups.
- 03On the Settings tab, find Choose your remote storage, pick Google Drive, Dropbox or another destination, follow the prompt to authorize it and save. Set the schedule and the number of backups to retain on the same tab.
- 04Switch to the Backup / Restore tab and click the blue Backup Now button. In the pop-up, leave both the database and the files ticked, choose to send the backup to remote storage, then click Backup Now again.
- 05Open the Google Drive or Dropbox folder and look at what arrived. If it is empty, the remote storage is not working yet.
If you leave remote storage off, the backup stays in wp-content/updraft on the same server, which puts it inside the site it is meant to protect.
Make a manual copy with File Manager or SFTP and phpMyAdmin
A manual copy needs no plugin and works on a site whose dashboard is down. It has two halves, taken separately.
- 01Open wp-config.php and find the DB_NAME line. That is the database you will export in step 3.
- 02Download the files. In your host's File Manager, or in an SFTP client such as FileZilla or Cyberduck, copy down the wp-content folder, wp-config.php and .htaccess. WordPress's own lesson recommends SFTP over plain FTP because SFTP encrypts your password in transit. The .htaccess name starts with a dot, so switch on hidden files if it does not appear.
- 03Export the database. Open phpMyAdmin from your host's control panel, click your database in the left pane, open the Export tab, leave Quick selected with the format set to SQL, and click Go. WordPress.org points out that this export holds the database only and none of your images.
- 04Put both halves in one folder named with the date, for example backup-2026-11-08, and move that folder to your off-site storage.
Use the 3-2-1 backup rule
CISA, the US government's cybersecurity agency, tells small businesses to follow the 3-2-1 rule: 3 copies of important files, on 2 different types of storage media (its example is a hard drive and the cloud), with 1 copy stored off-site, away from your business location. On a WordPress site that works out like this:
| Copy | Where it lives | What it covers |
|---|---|---|
| 1 | The live site on your host | Everything, until the host has a bad day |
| 2 | Your plugin's copy in Google Drive or Dropbox | The cloud copy, and also the off-site one |
| 3 | A download on your own computer or an external drive | A second kind of storage that depends on no online account |
Your host's own copy is a useful extra, but it sits in the same place as the site, so a suspension or a shutdown takes both. If that has already happened to you, read what to do when your hosting company shuts down.
On schedule, WordPress.org's backup guide says a small site with few new posts can back up weekly and a busy one daily, and every site should be backed up before an upgrade. CISA asks for the ability to roll back at least seven days. Keep more than that when a problem could sit unnoticed for weeks, since every copy made after a break-in includes it.
Where to run the restore drill
Restore the copy somewhere other than your live site, so a failed restore costs nothing. A staging copy from your host is the easiest place, if your host offers one. The alternative is a second WordPress install on a subdomain such as test.yourdomain.com.
Either way the copy lives at a different web address, and WordPress keeps its own address (the siteurl and home options) inside the database. References to the old address stay there after a move until someone replaces them. UpdraftPlus's restore guide covers restoring to the site's original location and URL and sends a move to another address to a separate migration guide. If the drill stalls at that point, you have found the weak spot before a real failure did, and it is a good moment to call us.
How to avoid needing the backup
A backup gets you back after something goes wrong, and a few settings make that happen less. WordPress.org's hardening guide is the source for most of this section.
Updates
Existing WordPress sites receive minor core updates on their own, and WordPress.org strongly discourages switching that off. Plugins are separate. In Plugins, then Installed Plugins, the Automatic Updates column has an Enable auto-updates link for each one, and you can tick several and use the bulk link. Take the backup first. Plugins you no longer use should go: click Deactivate, then Delete, since the hardening guide says to delete a plugin you are not using. The reasons an outdated plugin is dangerous are in what happens if you don't update WordPress plugins.
Admin accounts
The hardening guide warns against easily guessed usernames such as admin or webmaster. Create a new administrator with a different name, log in as it, and delete the old one. WordPress will ask which user should inherit that account's posts. Then open Users, then All Users, and click Administrator above the list: everyone shown can change anything on the site, so move former developers and former staff to a lower role or delete them. Give each administrator a long generated password from a password manager and use it nowhere else.
Two-factor login
The hardening guide recommends two-step authentication. The Two Factor plugin describes itself as developed and supported by a community, and it shows more than 100,000 active installs. It adds codes from an authenticator app, emailed codes and backup codes, and it marks the app and the backup codes as recommended. Turn it on for every administrator, store the backup codes somewhere other than the phone, then log out and back in to check it works.
Limiting login attempts
WordPress.org's brute-force guide puts rate limits on /wp-login.php and /xmlrpc.php at the host or CDN. It says a security plugin can throttle login attempts when your host offers no such limit, at the cost of running inside PHP while a site is under attack, and it suggests a CAPTCHA or Turnstile challenge on the login page. Moving the login address cuts noise and should not be your only defense. Ask your host whether it limits login attempts before you add a plugin to do it. If you do add one, the hardening guide names Wordfence and Shield as examples of firewall plugins.
When to get help
Run the drill once yourself and you will know what the job involves. Hand it over when the site takes leads or orders every day and nobody opens the dashboard each month, when the drill failed and you cannot see why, or when the site has been hacked. After a hack the order matters: find how they got in, then restore, because a backup taken after the break-in restores the break-in. How to tell if your website has been hacked lists the signs.
Our maintenance plans include daily backups stored off-site, along with updates, security and monitoring, for WordPress and other platforms. Call (425) 314-1415 from Mill Creek and we go through where your backups live and whether they would restore.
Check if your backup works
Tell us where your backups live and we will go through them with you and say what we find.
Get help from Venbit
More website guides
Every question in this series, from Fix website problems.
Symptoms & emergencies17
- What Size Should Images Be for a Website?
- Why Is My Logo Blurry on My Website? How to Fix It
- Images Not Loading on My Website? 9 Causes and Fixes
- Why Is My Website Down Right Now? How to Fix It
- Why Does My Website Say "Account Suspended"?
- Why Is My Contact Form Not Sending Emails?
- There Has Been a Critical Error on This Website: How to Fix It
- Why Is My Website Showing "Not Secure" in Chrome?
- Squarespace Site Not Showing Up on Google? How to Fix It
- Why Did Google Remove My Website From Search Results?
- Why Did My Website Traffic Suddenly Drop? Top Causes
- Why Is My Website Slow on Mobile but Fast on Desktop?
- Why Does My Website Look Broken on My Phone?
- Why Do My Website Images Look Blurry or Broken?
- How to Tell If Your Website Has Been Hacked
- "This Site May Be Hacked": How to Remove Google's Warning
- How to Fix the "Deceptive Site Ahead" Warning
What happens if...11
- Hosting Company Shut Down? What to Do in the First 24 Hours
- How to Get Your Website Files From Your Hosting Company
- Hosting Expired and Your Website Is Down? What You Can Recover
- How to Recover a Deleted Website
- How to Move a Website to a New Host Without Downtime
- Is My Web Host Going Out of Business? Signs to Check
- What Happens If My SSL Certificate Expires?
- What Happens If My Domain Name Expires?
- What Happens If Your Web Host Goes Out of Business?
- What Happens If You Stop Paying Your Web Developer?
- Why Are My Business Emails Going to Spam?
Plans & hiring1
Ownership & switching11
- How to Find Out Who Built Your Website
- How to Find Out Who Owns a Domain Name
- Locked Out of Your Own Website? How to Get Access Back
- How to Transfer a Website to a New Developer
- Website Ownership Checklist for a Small Business
- What Is My Website Built With? How to Check in Seconds
- How to Find Out Who Hosts and Manages Your Website
- What to Do When Your Web Developer Disappears
- How to Switch Web Hosting Without Losing Your Email
- Who Is My Email Provider? How to Find Out in Two Minutes
- How to Back Up a WordPress Website Yourself (you are here)
Platform-specific3
Seattle & local1
The Venbit Team
Web design & SEO, Mill Creek, WA
Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
Sources
- WordPress.org, WordPress Backups
- WordPress.org, Backing Up Your WordPress Files
- WordPress.org, Backing Up Your Database
- Learn WordPress, Backing Up Your WordPress Site
- CISA, Back Up Business Data (the 3-2-1 rule, recovery tests)
- Bluehost, help article on its backup service
- Namecheap, How to create and restore backups in cPanel
- UpdraftPlus on WordPress.org (storage options, install count)
- TeamUpdraft, How to back up with UpdraftPlus
- TeamUpdraft, How to restore a WordPress site with UpdraftPlus
- TeamUpdraft, New location of UpdraftPlus in the WordPress dashboard
- WordPress.org, Moving WordPress (siteurl and home are stored in the database)
- WordPress.org, Hardening WordPress
- WordPress.org, Brute Force Attacks
- WordPress.org, Manage Plugins (auto-updates, compatibility, backups before updating)
- WordPress.org, Updating WordPress (minor core updates)
- Two Factor plugin on WordPress.org
