Skip to content
HyperDAF editorialBackups

WordPress Backup Failed? Causes and Fixes That Work

The email arrived at 6:47 on a Monday morning: “BACKUP FAILED.” I had a client site migration scheduled for that afternoon, and the migration depended on a fresh backup. I…

BackupsEditor-curated guide
13 min10 sectionsIntermediate
Before you beginWhat this guide gives you
10Focused sections13Minutes to finishIntermediateExperience level98Article views
Start reading
Table of contents10

The email arrived at 6:47 on a Monday morning: “BACKUP FAILED.” I had a client site migration scheduled for that afternoon, and the migration depended on a fresh backup. I ran it again. Failed. I ran it a third time, watched the progress bar crawl to 62%, and then — failed. Three hours of my morning evaporated, the migration got postponed, and I spent the whole day learning more about PHP resource limits than I ever wanted to know.

I am Ryan Clarke, and I manage WordPress sites where backups are not optional — they are the safety net under everything. That Monday taught me that backup failures are never random. Every single one has a specific cause, and once you know the six usual suspects, you can diagnose any failure in minutes.

If your backup just failed, you know the feeling: a cold knot in your stomach, because a site without a working backup is walking a tightrope with no net. Here is the exact deal: I will show you how to read the failure log to find the real cause, then walk you through the six causes and each fix — including the scary one where the backup claims success but is secretly broken.

Whether this is your first failed backup or your fiftieth, this guide ends with a prevention checklist that makes failures rare. Let’s get your safety net back.

Abstract illustration of a torn safety net with a falling website cube being caught by a second intact net below, navy and green.

One reassurance first: a failed backup does not mean your site is broken. Your site is almost certainly fine — it is the backup *process* that hit a wall. And walls, unlike mysteries, can be climbed.

Here is what this guide covers:

  • Start Here: Read the Log Before You Touch Anything
  • Cause 1: The Server Timer Runs Out
  • Cause 2: PHP Runs Out of Memory
  • Cause 3: Disk Space Runs Out Mid-Backup
  • Cause 4: File Permissions Block the Backup
  • Cause 5: Something Gets in the Way
  • Cause 6: The “Successful” Backup That Is Secretly Broken
  • The Prevention Checklist: Backups That Don’t Fail
  • Frequently Asked Questions
  • Final Thoughts

Ready? Let’s get started.

Start Here: Read the Log Before You Touch Anything

I know the urge. The backup failed, and you want to *do something* — change a setting, reinstall the plugin, sacrifice a keyboard. Resist. The single most useful thing you can do is read the backup log first, because it usually names the cause outright.

Every serious backup tool keeps a log. Find it — usually under the backup section of your dashboard, sometimes labeled “Logs,” “History,” or “Details” on the failed backup entry. Open the most recent failed run and scroll to the end, where the actual error lives. You are looking for keywords, and they are wonderfully blunt:

  • “Maximum execution time exceeded” or “504 Gateway Timeout” → the server timer killed it (Cause 1).
  • “Allowed memory size exhausted” → PHP ran out of memory (Cause 2).
  • “No space left on device” → disk space ran out (Cause 3).
  • “Permission denied” or “failed to open” → file permissions (Cause 4).
  • The log just *stops* mid-way with no error → something interrupted it (Cause 5).

Write down the exact error message. When you contact your host’s support later, the exact message gets you a useful answer in one reply instead of five. “My backup fails” gets you a script; “Allowed memory size of 268435456 bytes exhausted” gets you an engineer.

If there is no log at all — the backup just silently never completes — skip straight to Cause 5. And if the log says the backup *succeeded* but you do not trust it, read Cause 6 carefully. That one matters more than all the others.

Cause 1: The Server Timer Runs Out

The most common backup failure on shared hosting, and the one behind my miserable Monday. Your server has a built-in stopwatch called max_execution_time: any PHP process running longer than this gets killed. On many shared hosts it is 30, 60, or 120 seconds. A small site backs up in seconds; a real site with thousands of files can take several minutes. The timer hits zero mid-backup, the process dies, and you get “Maximum execution time exceeded” or a 504 error.

The fix has two levels. Level one: give the backup more time. The widely recommended values for reliable backups are `max_execution_time = 300` (five minutes) alongside `memory_limit = 512M`. Many hosts let you raise these in the control panel’s PHP settings; if not, one support ticket with your exact error message usually gets it done.

Level two: make the backup faster than the timer. Exclude what does not need backing up every time — cache folders, old backup archives in your uploads, giant unchanging video files. Splitting the job helps too: back up the database on one schedule and files on another, so neither run hits the timer. Some backup tools also offer a “chunked” mode that processes in small steps specifically to dodge the timer — turn it on if yours has it.

Cause 2: PHP Runs Out of Memory

Backing up is hungry work: your site reads every file, exports the database, and compresses it all simultaneously. Every PHP process gets a memory allowance, and when the backup eats through it, PHP dies with “Fatal error: Allowed memory size exhausted.” Note the pairing: many failing backups need *both* the timer and the memory raised — which is why the recommended combination is `memory_limit = 512M` with `max_execution_time = 300`.

The fix: raise the limit — 512M is the sane target; many shared hosts default to 128M or 256M, fine for serving pages but tight for compressing a whole site. Then shrink the job: the uploads folder is usually the elephant. Exclude media served from elsewhere, ancient cache files, and forgotten staging copies — and make a habit of deleting unused uploads quarterly. Every backup, restore, and migration gets faster.

Abstract illustration of a stopwatch frozen at its limit while data cubes pile up behind a barrier, navy and green.

Cause 3: Disk Space Runs Out Mid-Backup

This one is almost insulting in its simplicity: the backup needs somewhere to *put* the archive, and there is no room. The classic log line reads “Failure to create temporary file: No space left on device” — often near the end, when the backup tries to zip everything up, which makes it extra painful.

Here is the trap: your hosting panel might show plenty of space, but backups also use the temporary directory (often `/tmp`), which can fill up independently — and on shared hosting it is shared with other sites. When support says “you have 17 GB free” and the backup still fails on disk space, ask them to check the temporary directory specifically.

The fix starts with arithmetic: a backup temporarily needs roughly twice the final archive’s space — room for the files being zipped plus the finished zip. Then clean house: old local backup archives are the usual culprit. Delete them (once you have copies elsewhere), clear cache folders, remove those “final-v2-REAL-final.zip” files. I once freed 11 GB on a client site just by deleting ancient local backups — the next run completed.

The deeper lesson: never store your only backups on the same server as your site. A full server kills the site *and* the backups together. Send completed backups to remote storage automatically.

Cause 4: File Permissions Block the Backup

WordPress files have permission settings controlling who can read, write, or execute them. The standard is 755 for directories and 644 for files. When these get scrambled — by a migration, a security incident, an overzealous hardening tweak — the backup gets locked out of reading its own site. The log keywords are “permission denied” and “failed to open stream.” Sneaky part: the site itself usually works fine; only the backup, which must read *everything*, trips over the locked drawer.

The fix: reset permissions to the standard. Many hosts offer a one-click “fix permissions” tool — use it. Otherwise, support resets them in seconds; it is a routine request. Run the backup again right after, so you confirm permissions were the cause. Then find out *why* they changed — a migration tool, a security plugin, manual panic-editing — or it will happen again.

If you are not comfortable with permissions, do not hand-edit them via FTP. Wrong permissions can take a site down faster than a failed backup can. This is a five-minute support ticket, not a DIY adventure — I say that as someone who learned it the DIY way, once.

Cause 5: Something Gets in the Way

Sometimes the log shows no clear error — the backup just stops, stalls, or never starts. Something interrupted it. The usual interferers, in the order I check them:

Security layers blocking the backup. Firewalls, security plugins, and CDN rules can mistake the backup process for an attack — especially scheduled backups making unusual requests. If backups fail automatically but succeed when you click manually, suspect a block, and check the security log for what was stopped.

WordPress cron misfiring. Scheduled backups depend on WP-Cron, which is not a real cron — it only triggers when someone visits your site. On a quiet site at 3 AM, the backup may never fire, or fire late and collide with the next run. Set up a real server cron job hitting `wp-cron.php` every few minutes — a one-time setup that fixes a whole category of flakiness.

Plugin conflicts. Deactivate other plugins temporarily and run the backup. If it completes, reactivate one by one until it fails again. Tedious, but definitive.

One giant file. A single enormous file — a 2 GB video, a bloated debug log — can choke the archiving step. The log usually names the file it died on. Exclude it or move it out of the backed-up directories.

Work through these in order, testing a backup after each change. The moment one completes, you have found your interferer.

Abstract illustration of a clipboard checklist with glowing green checkmarks beside shield and cloud icons, navy and green.

Cause 6: The “Successful” Backup That Is Secretly Broken

This is the cause that keeps me up at night, and I saved it for last on purpose. Everything above is about backups that *fail loudly*. This is about backups that fail silently: the dashboard shows a green checkmark, the archive has a plausible file size, everything looks fine — but the zip is corrupt, incomplete, or unrestorable. You only discover it when you desperately need it. That is the worst possible moment to learn your safety net was painted on.

How does this happen? A chunked backup where one chunk silently died. A timeout that killed the process *after* the dashboard logged success. An archive that closed improperly, missing its final files. The result is a zip that exists, looks right, and fails on extraction.

The fix is a habit, not a setting: test your backups. Every quarter, restore one somewhere safe — a staging site, a local install — and verify the homepage loads and a few pages work. A backup you have never restored is a hypothesis, not a safety net.

I also recommend the “two-location rule”: keep recent backups in two separate places. If one archive turns out corrupt, the other is almost certainly fine — corruption rarely strikes both at once. And set a real calendar reminder for the restore test, not a mental note. Future-you, mid-crisis, will be profoundly grateful for those thirty minutes.

If backup strategy is new territory, my guide on manual backups versus backup plugins breaks down which approach fits which situation — useful context once your backups are actually completing.

Abstract illustration of a hard drive completely filled with overflowing stacked blocks, navy and green.

The Prevention Checklist: Backups That Don’t Fail

You have fixed the failure. Now make it rare. This is the checklist I run on every site under my care, and backup failures have become genuinely unusual:

  • Resources: memory_limit at 512M, max_execution_time at 300 — set once, verified yearly.
  • Real cron: a server cron job triggering WP-Cron, so scheduled backups actually fire on time.
  • Exclusions: cache folders, old local archives, and giant unchanging files excluded from every run.
  • Remote copies: every completed backup sent automatically to separate remote storage — never server-only.
  • Two locations: recent backups exist in two independent places at all times.
  • Quarterly restore test: a real restore to staging, on the calendar, actually performed.
  • Log glance: a quick look at the backup log monthly — thirty seconds to catch drift before it becomes failure.
  • Lean media library: unused uploads deleted quarterly, so every backup (and restore, and migration) stays fast.

Print this, or save it where you will see it. Eight lines, and the difference between “backups” and “backups you can trust.”

Frequently Asked Questions

How often should WordPress backups run? Daily for active sites — any site where content, orders, or comments change regularly. Weekly can suffice for a truly static brochure site. The real answer: back up as often as you can afford to lose. If losing a week’s work would hurt, back up daily.

My host says they back up my site. Is that enough? It is a good start, but I would not rely on it alone. Host backups serve the host’s disasters, not yours — restores can be slow, single-file restore is often unavailable, and you control nothing about timing. Keep your own independent backups too.

Will backups slow down my site? A well-configured backup causes a brief, modest load bump — which is why most people schedule them for quiet hours. If your site crawls during every backup, the job is too heavy: split it, exclude more, or reschedule. It should be background noise, not a traffic jam.

The backup fails at the same percentage every time. What does that mean? It is choking on the same file or table at that point. Check the log for the last file named before the failure — that is your culprit. Exclude it or fix it, and the backup will sail past.

Should I keep backups on the same server? Only as a temporary convenience, never as your archive. A server failure, hack, or billing mishap takes your site and your server-stored backups together. Automatic remote copies are the fix — set it once, and every backup lands somewhere safe within minutes of completing.

Final Thoughts

That Monday morning still stings — the failed migration, the postponed client, the hours lost to a timer I did not know existed. But it gave me a mental model where backup failures are never mysteries: timer, memory, disk, permissions, interference, or silent corruption. Read the log, match the cause, apply the fix.

Your backup failed today, and that felt scary. But that knot in your stomach was the feeling of not knowing — and now you know. Go fix your backup, then schedule that first quarterly restore test. And if your failure was something weird I did not cover, tell me in the comments — I read every one, and the strange cases make this guide better. For backup planning, read the 3-2-1 backup strategy, how to test backups with restore drills, why to stop storing backups on your own server, how to restore a single file, and how to recover a hacked site.

Written by

Ryan Clarke

Ryan runs WordPress infrastructure for high-traffic stores. His 9 years in hosting and DevOps shape his guides on servers, staging workflows, backups, and deployment.

7 published articles
View all articles

Related articles

View all articles

3 comments

Join the discussion

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

Keep comments relevant and respectful.