WordPress update failed? How to restore your site
Comprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.
I am Mariusz Szatkowski, one developer in Gdynia, working remotely and in writing, with WordPress since 2006. For Edinburgh organisations I look after WordPress and WooCommerce sites, and the question I hear most often is not about updates. It is: “If someone gets in, what do I have to do, and by when?”
UK GDPR gives a precise answer. The ICO defines a personal data breach as a breach of security leading to the accidental or unlawful destruction, loss, alteration, unauthorised disclosure of, or access to, personal data, and says it covers accidental and deliberate causes. A WordPress site holds personal data in more places than the owner expects: user accounts, WooCommerce orders, form entries, comment emails, newsletter lists, and the server logs. An attacker who reads any of it, or who can read it even if you cannot prove they did, has caused a breach in this sense. A defaced home page on a brochure site with no stored personal data is a security incident, and not a personal data breach.

Photo: Anthony O’Neil, CC BY-SA 2.0, Wikimedia Commons.
The regulator is the same in Edinburgh as in London. Scotland changes who takes the police report and which support bodies exist, and I cover that further down.
Article 33 of the UK GDPR says the controller must notify the regulator without undue delay and, where feasible, not later than 72 hours after becoming aware of a personal data breach, unless the breach is unlikely to result in a risk to the rights and freedoms of people. If the notification comes later than 72 hours, it must carry reasons for the delay.
Five points from the Article and the ICO’s guidance decide how a small organisation should prepare:
The 72 hours include weekends. I do not offer round-the-clock cover or on-call duty, and I say so before a contract starts. The sensible consequence is that someone inside your organisation holds the decision to report, with the ICO’s online form and the phone number of the ICO’s breach advice line written down in advance. The ICO says the online form takes about 30 minutes and cannot be saved and resumed, so the facts need to be in the log before anyone opens it.
The WordPress developer documentation on backups says a typical site has two parts, the database and the files, and that you need both to restore it. It suggests weekly backups for smaller sites and daily for high-activity ones, and says to back up the database regularly and always before an upgrade. It also says to keep at least three to five recent backups in different locations, and to restore the files first and then import the database. It says to run a manual backup alongside automatic ones now and then, to check the process still works.
The NCSC’s small business guide adds two points that matter after a breach. Backups should be recent and able to be restored, and a backup that is permanently connected to the original can be infected along with it, since malware can spread to attached storage. Keeping a copy in a different location, which the guide notes cloud storage can provide, covers fire, theft and the hosting account itself.
The ICO’s own examples show why the rehearsal matters. A university that deletes alumni contact details by accident and re-creates them from a backup is unlikely to cause a high risk to those people. Without a working backup the same slip is a different incident.
A drill is a restore onto a staging server that is not the live site, done on a schedule and written up. This is the order I follow, and the same list works for an in-house team:
wp db import runs the SQL against the credentials in wp-config.php and does not create the database by itself, so the empty database and the matching credentials have to exist first.wp core verify-checksums downloads the checksums for the installed WordPress version from WordPress.org and compares them with the files on disk, and wp plugin verify-checksums --all does the same for plugins. Both only cover what WordPress.org hosts, so premium plugins and custom code need a different check, such as comparing against the repository.For the database side of a fresh backup, wp db export writes the database to a file or to standard output, and the file name defaults to the database name, the date and a random hash. I take one before every update, as the WordPress documentation advises, and send both files and database outside the hosting account.
A restore that works tells you the data is back. It does not tell you the hole is closed. After a breach the WordPress.org page “FAQ My site was hacked” says to find how the attacker got in, so the same route cannot be used again, to take one more snapshot of the infected state before cleaning, to rotate the secret keys in wp-config.php so logged-in sessions end, to change passwords for FTP or SFTP, wp-admin, the hosting panel and the database, and to change them again once the site is clean. It also suggests checking .htaccess and files such as index.php, header.php and footer.php, which it names as common targets.
Cyber Scotland publishes a one-page guide for private sector organisations on responding to a cyber incident. Its first step reads: if you confirm a cyber incident, report it to Police Scotland by calling 101, and report it to the NCSC at report.ncsc.gov.uk. If there has been a personal data breach, your Data Protection Officer should report it to the ICO within 72 hours. It also suggests contacting your insurer if your cover includes cyber support, and keeping a record of what happens and what you do, particularly for cases that regulators or the police may review.
Police Scotland’s cybercrime page says you can report cybercrime online, by phone or in person, and to call 999 where there is a threat to life or national infrastructure. The same page lists the Cyber and Fraud Centre Scotland helpline, 0800 1670 623, which helps organisations get running again after an attack.
I am not in Edinburgh and I do not attend sites. My part is remote and written: I read logs, restore, clean and document. The reports to the police, the NCSC and the ICO belong to the organisation that is the controller.
The ICO’s template covers what a regulator will ask for. For a WordPress site I set up the same fields in a shared document:
You send the site URL, the host, the list of plugins and who has admin access. I reply by email within 24 hours on working days. I check the site against the list above in writing and send you a scope with assumptions. I set up staging and the off-hosting backups, rehearse a restore, and send a written report each month with what was updated, what was restored in the test and what I found. Hours are used within the month they belong to and do not roll over. If you want design changes, I design them or implement yours.
What I need from you: access to hosting, the WordPress admin, the DNS or registrar account if the host is in question, and a named person who decides on reporting.
The wider service sits on the WordPress maintenance and support page.
If you run WordPress in Edinburgh or elsewhere in Scotland and want the backup and restore side set up before an incident, write to me through the contact page. Send the site URL, what the site does, the host and your current plugin list. The estimate I send you first, in writing, is free. Replies come by email within 24 hours on working days.
Examples of my work.
A method-led case study of the WPPoland rebuild: Astro, Markdown/MDX content, six locales, technical SEO, structured data, AEO/GEO and content quality gates.
Abovio.pl is an advanced online store project in my WordPress developer portfolio, created as an electronics distribution platform for both companies and ind...
AirHelp was founded in 2013 as a start-up and has grown to become the global leader in defending air passenger rights, helping over 13 million people underst...
Describe your project by e-mail. I reply within 24 hours.
Describe your projectComprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.
WordPress.org has cut the mandatory update cooldown from 24 hours to six, with work underway to skip it entirely when the Gandalf AI review finds no issues. What changed, and what agencies maintaining B2B sites should do about it.
Update crashed your site? Don't panic. See 3 proven ways to rollback WordPress core, plugins, or themes to a previous version.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Stores, checkout flow, and sales logic.
Stability, updates, and post-launch support.
What the monthly care fee covers and what changes it.
Business process automation around WordPress and company systems.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.

How to start as a WordPress developer in 2026. Local environment, theme and plugin development, REST API and headless paths, security and Core Web Vitals. A practitioner playbook that does not waste your first month.

WordPress 7.0 with AI Client against Astro 7 with the Rust compiler and Vite 8. Speed, cost, SEO and security compared, plus the real bill for my own Astro 6 to 7 migration.

A detailed comparison table of EmDash CMS and WordPress across architecture, security, plugins, AI features, content model, hosting, and ecosystem maturity.