Skip to content
HyperDAF editorialBackups

How to Test WordPress Backups: Restore Drills That Work

A backup you never tested is just hope. Learn how to test WordPress backups with safe restore drills, staging restores, and a recovery log that works.

BackupsEditor-curated guide
18 min8 sectionsIntermediate
Before you beginWhat this guide gives you
8Focused sections18Minutes to finishIntermediateExperience level100Article views
Start reading
Table of contents8

The call came on a Tuesday morning. A client’s site had been hacked overnight — the homepage was advertising things I cannot print here — and the client was calm because, in his words, “we have backups.” We did have backups. Two years of them, running every night like clockwork. What we did not have was a single tested restore. When we tried to bring the site back, the newest backup was corrupted, the one before it was missing the database, and the one before that was from before a critical plugin change. We rebuilt the site from pieces over four days. I have never felt so helpless in my career.

I am Sophie Vermeer, and I manage WordPress sites where backups are not optional. That Tuesday taught me the sentence this entire guide is built on: a backup you have never restored is not a backup. It is a hope. Testing your backups — running real restore drills before disaster strikes — is the difference between a bad day and a lost business.

Here is the fear, and I know it well. What if my backups are silently failing right now? What if the day I need them, they turn out to be empty, corrupted, or incomplete? With roughly 13,000 WordPress sites hacked every day and the average small-business recovery costing around $14,500, according to data compiled from Patchstack, Wordfence, and Sucuri research, the question is not whether you will need a restore. It is whether your restore will work when you do.

In this guide I will walk you through the complete drill system: why untested backups fail, how to set up a safe place to test, the exact step-by-step restore drill, what to verify after every restore, how often to drill, and what to do when a drill exposes a problem.

Whether you run one blog or fifty client sites, by the end of this guide you will have a tested, trustworthy recovery plan.

You do not need expensive tooling or a second server. You need a staging area, an hour of focus, and the discipline to drill on a schedule.

Here is what this guide covers:

  • Why untested backups fail (the five silent killers)
  • How to set up a safe place for restore drills
  • The restore drill, step by step
  • What to verify after every restore (the checklist)
  • How often to drill (the schedule that actually works)
  • What to do when a drill fails
  • Frequently Asked Questions
  • Final Thoughts

Ready? Let’s get started.

Abstract illustration of a web page reassembling from glowing backup blocks like puzzle pieces.

Why Untested Backups Fail (the Five Silent Killers)

Backups fail silently. That is the terrifying part. Everything looks green in your dashboard — “Backup completed successfully” — while the actual restore file is useless. I have seen all five of these killers in the wild, and every one of them was discovered at the worst possible moment.

Killer one: the missing database. A “full backup” that contains only files is not a full backup. Your content, settings, users, and orders live in the database; the files are just the frame. Some backup setups quietly skip the database when it grows large or when credentials change. The result looks complete until restore day, when you get a beautiful empty theme with none of your content. Always confirm your backup contains both files and a database dump.

Killer two: the corrupted archive. Backup files are big, and big files break. Transfers get interrupted, disks fill up mid-write, and compression glitches produce archives that look fine but will not extract. I once watched a restore fail at 94% extraction on a 4GB archive — three hours into what should have been a routine recovery. Corruption is invisible until you try to open the box.

Killer three: the expired storage. Your backups upload faithfully to cloud storage every night. Then the credit card on the storage account expires, or the free tier fills up, or the API key gets revoked — and the uploads start failing silently while the local dashboard keeps reporting success. Backups often fail because of expired storage accounts, and nobody notices for months. Your backup is only as reliable as the least-monitored link in its chain.

Killer four: the partial backup. Some setups back up the uploads folder and the database but skip critical pieces: the theme customizations, the must-use plugins, the server configuration, the SSL certificates. A restore from a partial backup gives you a site that looks right and behaves wrong — forms that do not send, checkouts that do not charge, redirects that loop. Partial is worse than missing, because it wastes your recovery time on a broken restore.

Killer five: the untested process. Even with perfect backup files, the restore process itself can fail. The import tool times out on large databases. The table prefix does not match. The file permissions come back wrong. The domain references point at the old server. I have seen restores fail for every one of these reasons — and every failure was discoverable in a drill, months before it mattered.

Here is the uncomfortable truth these five killers share: you cannot detect any of them by looking at a dashboard. “Backup completed” means the backup job ran. It says nothing about whether a restore works. The only test that counts is an actual restore. That is what a drill is.

How to Set Up a Safe Place for Restore Drills

Never test a restore on your live site. I know that sounds obvious, but I have watched people do it — usually in a panic, usually making everything worse. A drill needs a sandbox: a place where failure is free and the live site cannot be touched.

The best sandbox is a staging environment: a copy of your site running on a separate URL or subdomain, invisible to visitors and search engines. Many quality hosts offer one-click staging — a button that clones your live site to something like staging.yoursite.com. If your host offers it, use it. It takes minutes and it is the closest thing to a perfect drill environment, because it mirrors your real server.

No staging option? Build a local sandbox. Free local development tools let you run WordPress on your own computer — your live site stays untouched while you restore backups into the local copy as many times as you like. It is slightly more setup the first time, but then every future drill is free and instant. I keep a local sandbox specifically for restore drills, and it has saved me more times than I can count.

A third option for the cautious: a cheap secondary hosting account or a subdomain on your existing hosting, password-protected so nobody stumbles in. This is my choice for client sites where I want the drill to run on real server conditions — same PHP version, same limits, same quirks. Server differences cause a surprising share of restore failures, so drilling on matching infrastructure catches problems a local sandbox would miss.

Whichever sandbox you choose, lock it down. Password-protect it, block search engines with a robots rule and noindex, and never let it send real emails to real customers — a drill restore that fires off order confirmations to last year’s buyers is a mistake you make exactly once. I add a clear “STAGING — DRILL ENVIRONMENT” banner to every sandbox so nobody ever confuses it with the live site.

One more setup step that pays off forever: document your sandbox. Write down where it is, how to access it, and how to reset it. A drill you can run in twenty minutes gets run. A drill that requires an hour of archaeology to set up gets postponed until the disaster. Make the path smooth and you will actually drill.

Abstract illustration of a miniature website inside a protective glass dome, representing a safe staging environment.

The Restore Drill, Step by Step

Here is the exact drill I run. It takes about an hour the first time and thirty minutes once you know it. Do it during a calm afternoon — never five minutes before a deadline — and treat it like a fire drill: the point is to find problems while they are cheap.

Step one: pick your backup. Do not test the backup from five minutes ago. Test the one you would actually need: last night’s automated backup, or the weekly full-site archive. Note its date, size, and where it is stored. If the size looks wrong — dramatically smaller than usual — stop and investigate before drilling. Size anomalies are the cheapest early warning you get.

Step two: prepare the sandbox. Reset your staging or local environment to a clean state, or spin up a fresh one. Confirm it is password-protected and disconnected from anything real: no live payment gateways, no real email sending, no search engine access. Take a screenshot or a quick note of its starting state so you can tell what changed.

Step three: run the restore. Use your normal restore process — the same buttons, the same tool, the same steps you would use in a real emergency. This is critical: if you improvise a clever manual restore for the drill, you have tested your cleverness, not your process. Follow the documented path exactly, including any “boring” steps like downloading the archive first or entering credentials. Time the whole thing with a clock. In a real disaster, “how long does this take” is the first question anyone asks, and now you will know the answer.

Step four: watch for the failure points. Large database imports timing out. Archives that will not extract. Table prefixes that do not match the backup. File permissions resetting wrong. Uploads folder missing. These are the classic failure modes, and the drill is where you want to meet them. Write down everything that hiccups, even the small stuff — small hiccups in a drill become big blockers at 2 a.m. during a real incident.

Step five: do not touch the live site. I repeat this because drill-day excitement makes people sloppy. The drill restores into the sandbox only. Your live site should not know the drill happened. If your restore process requires changing DNS, database credentials, or file paths on the live server, stop — your process is wrong and the drill just proved it. Fix the process, not the drill.

Step six: verify. A restore that “completed” is not a restore that worked. Verification is its own step with its own checklist, and it is important enough to get the entire next section.

Bonus Tip: Run your first drill on your least important site. You will fumble — everyone does — and it is better to fumble where nothing matters. By the third drill you will be smooth, and then you roll the process out to the sites that actually keep you up at night.

What to Verify After Every Restore (the Checklist)

A restore is only done when the restored site works. “The import finished without errors” is the beginning of verification, not the end. Here is my checklist — I run every item, every drill, and I have caught real problems with every single one at least once.

Can you log in? Open the sandbox’s login page and sign in with a real administrator account from the backup. If login fails, the user table did not restore properly — and a site you cannot log into is a site you cannot fix. This is the first check because everything else depends on it.

Is the content all there? Spot-check posts, pages, and media across different dates — especially the newest content before the backup date. Count roughly: if the live site has 400 posts and the restore shows 380, something got cut. Check the media library visually. Missing images are the most common “everything looked fine” surprise, usually from an uploads folder that did not fully transfer.

Do the dynamic parts work? Submit the contact form and confirm it processes. If it is a store, run a test checkout up to the payment step. Test search, test the navigation menus, test any calculators or booking widgets. Static pages can look perfect while every interactive feature is broken — and interactive features are what your business runs on.

Are the settings correct? Check the site URL settings, the permalink structure, and any API keys or integrations. Restores onto different domains or paths break hardcoded URLs, and integrations keyed to the live domain may fail or — worse — may connect the sandbox to live services. I once saw a drill restore trigger real webhook calls. Verify, then disconnect.

Is anything throwing errors? Turn on error visibility in the sandbox and click through the key pages: homepage, a post, a page, the checkout or form page. Check the server error log for the restore window. Silent PHP errors are the termites of restored sites — invisible until they eat something structural.

How long did it take? Write down the total restore time and the total verification time. This is your recovery time objective made real. If the drill took four hours, your disaster recovery plan takes four hours — plan staffing, communication, and client expectations around the real number, not the optimistic one.

Keep the completed checklist with the date. Over time these become a health record for your backup system: restore times trending up, new warnings appearing, verification getting faster as you fix process issues. The checklist is also the document you hand a client or a boss that proves — with evidence, not hope — that recovery works. For the day-to-day backup habits that feed this drill, my guide on manual versus automated backups covers what to back up and where to keep it.

Abstract illustration of a checklist with green checkmarks above a database and server blocks, representing backup verification.

How Often to Drill (the Schedule That Actually Works)

“Test your backups regularly” is advice everyone nods at and nobody follows, because “regularly” is not a schedule. Here is a schedule that works in real life, calibrated to how much the site matters.

For every site, minimum: twice a year. Full restore drill, full verification checklist, documented results. Security checklists consistently recommend testing restores at least twice a year because backups fail silently — missing databases, corrupted archives, expired storage accounts. Twice a year is the floor, not the goal. Put both dates in your calendar now, with reminders a week ahead. If it is not scheduled, it does not happen.

For business sites: quarterly. If the site earns money, collects leads, or serves customers, drill every three months. Quarterly drilling catches the slow rot — the backup job that started skipping the database after a plugin update, the storage quota that filled up, the process step that broke when you changed hosts. Four drills a year is about four hours of total work. Compare that to the $14,500 average recovery cost when recovery goes wrong, and it is the cheapest insurance you will ever buy.

After every big change: immediately. Migrated hosts? Changed your backup setup? Updated the backup tool? Restructured the site? Drill within a week. Changes are when backup systems break — new server, new paths, new credentials, new blind spots. I drill after every migration without exception, because migrations are the number one moment I have seen “working” backups stop working.

After every real restore: debrief and re-drill. If you ever restore for real — hack, failure, human error — treat it as a surprise drill. Write down what went wrong with the process, fix it, and then run a clean drill to prove the fix. Real incidents are the most valuable drills you will ever get. Waste none of them.

Automate the reminders, not the drill. You can automate backup jobs, but you cannot automate judgment — the drill needs human eyes on the verification checklist. What you can automate is the nagging: calendar events, task manager recurrences, a quarterly email to yourself. I have a recurring task titled “Restore drill — no excuses” and it has never once been convenient. It has always been worth it.

Note: Drilling does not replace good backup hygiene. Keep at least 30 days of backup history — infections are often discovered weeks after they happen, so yesterday’s backup may contain the problem too. Store copies off your own server, because a backup on the same machine as the site dies with the machine. My guide on why you should stop storing backups on your own server explains the off-site setup, and if a backup ever fails outright, the causes-and-fixes guide walks through the repairs.

What to Do When a Drill Fails

A failed drill is good news. I mean that. A drill that fails found the problem on a calm afternoon instead of during a real disaster. The only bad drill is the one you never run. Here is how to handle failures like a professional.

First: do not panic, document. Write down exactly what failed, at which step, with what error message. Screenshot everything. This record is gold — it is the bug report for your recovery process, and it is what prevents the same failure from recurring. Panic deletes information. Documentation preserves it.

Second: classify the failure. Is it the backup files (corrupted archive, missing database, partial backup)? Then your backup job is broken — fix the job first, then re-drill. Is it the storage (expired account, full quota, revoked key)? Then your monitoring is broken — fix the alerts, verify uploads are landing, then re-drill. Is it the process (timeouts, prefix mismatches, permission errors)? Then your restore procedure needs updating — document the fix as a new step, then re-drill. Most failures I have seen are process failures, and process failures are the cheapest to fix permanently.

Third: fix one thing, then re-drill immediately. Do not batch five fixes and drill once. Fix the first failure, run the drill again, and let the next failure surface. Restore processes are chains — fixing link one often reveals that link three was also broken, and you only find out by running the chain. Iterative drilling feels slow. It is the fastest way to a process that actually works.

Fourth: if the backup files themselves are bad, escalate. A corrupted archive or a missing database is not a drill problem — it is a right-now problem, because your live site currently has no valid recovery point. Treat it as urgent: fix the backup job today, verify the next backup manually, and do not consider yourself protected until a drill passes. An agency I know discovered through a drill that eight months of “successful” backups contained no database. They fixed it that week. Imagine discovering it during a hack.

Fifth: update the runbook. Your restore process should live in a document — the runbook — with every step, credential location, and gotcha you have discovered. Every failed drill improves the runbook. Over a year, that document becomes an asset: the thing that lets anyone on your team run a restore at 2 a.m. without calling you. The runbook is the real product of drilling. The passing drill is just the proof.

Abstract illustration of a secure vault with glowing backup boxes connected by light to a distant server, representing off-site storage.

Frequently Asked Questions

How often should I test my WordPress backups? At minimum twice a year for every site — security checklists consistently recommend this because backups fail silently. Business-critical sites should drill quarterly, and you should always drill within a week of big changes like migrations or backup-tool switches. Schedule both dates now; unscheduled drills do not happen.

Can I test a restore without risking my live site? Yes — never drill on the live site. Use a staging environment, a local sandbox on your computer, or a password-protected subdomain. Lock the sandbox down: block search engines, disable real emails and payments, and add a clear banner so nobody confuses it with the live site.

What is the most common reason restores fail? In my experience, process failures beat file failures: large database imports timing out, table prefixes not matching, file permissions restoring wrong, and domain references pointing at the wrong server. Corrupted archives and missing databases happen too, which is exactly why the drill restores real backup files instead of just checking a dashboard.

How long should a restore drill take? The first drill takes about an hour including verification; once you know the process, around thirty minutes. More importantly, time your drill — the total restore-plus-verification time is your real recovery time objective, and it is the number you plan staffing and client communication around in a genuine disaster.

My backup dashboard says “completed successfully.” Is that not enough? No. “Completed” means the backup job ran; it says nothing about whether the files are complete, uncorrupted, and restorable. Missing databases, corrupted archives, expired storage, and broken restore processes all hide behind green dashboards. Only an actual restore proves a backup works.

Final Thoughts

That Tuesday morning — the hacked site, the corrupted backup, the missing database, the four-day rebuild — still sits in my memory like a warning light. We had done 90% of the work. We had backups running every night for two years. We just never tested them, and the untested 10% cost us everything the other 90% was supposed to protect.

You are now ahead of where we were. You know the five silent killers, you have a sandbox plan, a step-by-step drill, a verification checklist, a real schedule, and a playbook for failures. The whole system costs you about an hour twice a year per site. There is no cheaper insurance in WordPress.

Run your first drill this week — on your least important site, on a calm afternoon. When it passes, you will feel the difference. That confidence is not arrogance. It is evidence. For backup planning, read the 3-2-1 backup strategy, why to stop storing backups on your own server, how to restore a single file, backup failure causes and fixes, and how to recover a hacked site.

Written by

Sophie Vermeer

Sophie audits WordPress themes and plugins for accessibility. With 7 years in inclusive design, she writes about WCAG compliance, keyboard navigation, and building sites everyone can use.

7 published articles
View all articles

Related articles

View all articles

1 comment

Join the discussion

Your email address will not be published. Required fields are marked *

Keep comments relevant and respectful.