Cyber security for UK businesses
support@cyberxperts.ai | +44 7490 302661

WEBSITE RECOVERY

Hacked Website Recovery Without a Clean Backup

A hacked website can sometimes be recovered without a clean backup by rebuilding trusted code and carefully salvaging reviewed business content. First preserve the compromised state and establish what data still exists; neither a public cache nor an untested hosting snapshot is a complete recovery plan.

Hacked Website Recovery Without a Clean Backup — illustrative website and server security artwork

Identify what is missing and what still exists

Separate the loss of executable code, design assets, editorial content, customer records and operational configuration. Each has a different recovery source and risk. A fresh WordPress download can replace core software, but cannot recreate orders that existed only in a lost database. Likewise, screenshots can help reconstruct appearance without restoring the site's working records.

Ask the hosting provider about retained snapshots, database backups and account-level copies before assuming nothing exists. Ask the development agency about source control and original release packages. Record who supplied each candidate and when it was created. A newly discovered copy is an unverified source until its integrity and relevance have been assessed.

Material availablePotential useMain limitation
Publisher packages or trusted source repositoryRebuild executable application codeCustom changes and exposed credentials still need review.
Database export from the affected siteSalvage necessary records after inspectionMay contain injected scripts, unauthorised accounts or altered settings.
Original media and editorial documentsReconstruct useful pages and assetsDo not include all application state or transactions.
Historical screenshots or public snippetsReference for content and design reconstructionIncomplete, potentially stale and not evidence of a clean application.

Preserve the current state before attempting salvage

Have an authorised administrator retain a restricted copy of files, database and relevant logs. Record timestamps and important business cut-offs, such as the last fulfilled order or confirmed enquiry. Do not leave database exports or ZIP archives in a public web directory while working. A recovery copy containing personal information needs controlled access and a retention decision.

Contain active harmful behaviour separately from preservation. A simple temporary page served from a trusted location may keep customers informed while the affected application is restricted. If the hosting account may be compromised, arrange a trusted recovery environment rather than adding fresh secrets to a place the attacker can still read.

Build a trustworthy foundation before importing content

Create the replacement application from verified publisher packages or reviewed deployment sources. Document required themes, plugins, custom modules and integrations, then justify each one before reintroducing it. Do not copy the entire old application directory over a clean installation merely to save time.

Use a restricted staging environment with appropriate test data. Disable live email dispatch, payment capture, fulfilment webhooks and other side effects until their configuration is explicitly reviewed. Some recovery tests can otherwise notify customers, duplicate an order or start an external workflow. Keep a written list of what must be re-enabled before launch.

WordPress documents files and databases as separate backup components. That distinction matters even when no backup exists: code can be rebuilt from a publisher, while database records and uploaded content need their own salvage decisions. A successful file transfer does not demonstrate that the business information has been recovered.

Salvage necessary content selectively

  1. List the records needed to resume the business, and rank them by operational importance and sensitivity.
  2. Inspect candidate database content and exports in an isolated workflow. Identify unexpected administrators, script-bearing settings and altered payment or contact destinations.
  3. Import only reviewed records into the replacement where practical. Preserve identifiers needed for reconciliation and document any transformations.
  4. Recover media from trusted originals where available. Inspect files from the affected host and keep executable content out of public upload locations.
  5. Reconcile the result against independent records such as approved invoices, payment-provider records or the business owner’s editorial inventory. Record gaps rather than inventing missing information.

Avoid unreviewed bulk text substitutions inside a database export. Structured or serialised values can be damaged, and a harmless-looking string may have different meanings in different fields. A developer should use an import method suited to the application and test the affected features afterwards.

Prove the business functions before changing traffic

Make a launch checklist covering intended URLs, contact details, enquiries, account recovery, search, checkout if relevant and necessary third-party integrations. Confirm that private exports, debug output and test endpoints are not publicly reachable. Establish new credentials and least-privilege integration access in the trusted replacement environment.

For a website rebuilt without a clean backup, editorial and technical acceptance need separate owners. The business verifies that essential information and records are accurate; the technical team verifies configuration, functionality and the removal of the known access route. Neither should silently sign off the other team's assumptions.

When to pause for specialist investigation

Escalate when customer data may have been exposed, payment behaviour changed, multiple systems share compromised access or there is no defensible boundary around the incident. An urgent rebuild can restore service while a separate investigation continues, but it should not erase the evidence needed for that investigation. The decision and its trade-offs belong in the incident record.

Hypothetical example: a consultancy has no clean full-site backup but retains its source repository, approved service copy and monthly lead exports. It rebuilds the public site from trusted code, manually verifies service pages and preserves the affected database for investigation. It reports that some recent enquiry history remains unreconciled, rather than claiming that a visually complete homepage means all records were recovered.

CyberXperts can help define a practical salvage and rebuild scope. Share which systems and source materials are available through the initial enquiry, then arrange a secure transfer process for any sensitive recovery material.

Frequently asked questions

Is recovery impossible without a backup?

No, but the outcome depends on what survives. Publisher code, source control, original media and reviewed database records may support a rebuild. Data that existed only in a destroyed database may not be recoverable. Establish that limitation early rather than paying for an unsupported promise.

Can Google cached content replace my lost website?

Historical search snippets or other public copies may help reconstruct selected editorial material, if available. They do not recreate the full database, private records, application configuration or all assets. Treat them as references and verify accuracy and ownership before reuse.

Should I copy the old uploads folder straight into the new site?

Not without review. The folder may contain unexpected executable files, altered media or private material. Recover trusted originals where possible, inspect the rest in isolation and configure the replacement so uploaded content cannot gain unnecessary execution privileges.

Will rebuilding keep all existing search rankings?

No. Preserve legitimate URLs and accurate content where feasible, but a rebuild, outage and previous compromise can all affect search visibility. Validate responses, navigation and the sitemap, then monitor indexing. A provider should not guarantee a ranking position.

What should I ask a recovery provider to deliver?

Ask for a recovered-content inventory, a list of known gaps, the trusted code sources, the access-route remediation and evidence of functional tests. Agree who approves business data and who handles unresolved incident questions. The final deliverable should explain what was actually recovered.

Sources and further reading

Official documentation and advisories supporting the technical points above. The recovery workflows and examples are editorial guidance for adapting to your own systems.

  1. WordPress: Backing Up Your WordPress Files — accessed 22 October 2026
  2. WordPress: Backing Up Your Database — accessed 22 October 2026
  3. WordPress: Server configuration — accessed 22 October 2026

Get practical support for your next step.

Tell CyberXperts what happened, which systems are affected and what you have already checked. Do not include passwords or sensitive incident evidence in the initial form.

Discuss your website security

Enquiry update