We are booking in new cases · Weekdays, 9am–5:30pm Urgent case? Call 0800 6890668
MHDR Maidenhead Data Recovery 0800 6890668 Send it in
MHDR / Specialist cases / Database recovery

Specialist work · database engines

Database recovery in Maidenhead. Readable bytes are one thing; a store the engine will mount is another.

A database engine was designed to distrust itself, which is why SQL Server and Exchange won't accept a store at all rather than guess at what a damaged page once held. The repair switches they come with restore consistency only by discarding anything that doesn't add up. Here's the order of work that follows from this: the MDF, LDF and EDB files are imaged along with their logs before any utility runs; all repairs are run against the clone; and the media sent from Maidenhead is read once, then set aside.

Only pay if we recover your data, on most jobs Diagnosis free, then a fixed quote Get a quote, then post it in from Windsor, Slough or anywhere else

Describe the fault to an engineer
0800 6890668

What each database symptom is telling you.

None of these? Run the triage →
The symptomThe likely causeStart here
The database has been flagged SuspectThe log will not replay cleanly after an unclean shut-down.Copy the MDF file and the log file first.
Held in Recovery PendingStartup cannot complete, and the disk underneath is usually failing.Have the storage checked also.
Torn pages, or error 823 and 824A read hit pages which no longer checksum.Stop retrying and image it.
Error 5171 — ‘not a primary database file’MDF header is damaged.Rebuild that header on a clone
The store reports Dirty ShutdownThe logs have been created but the changes in them have not been committedRead the header of the database files prior to doing anything else
Someone has previously performed a "hard" repair on the systemREPAIR_ALLOW_DATA_LOSS was originally named as such for its high price: lost dataObtain a quote first; do not send your server, just its disks
Where to send it: first get a quote, by phone or with the form, then send it using a tracked, insured service to the Guildford intake laboratory, or drop it off there yourself (Monday to Friday, 9am to 5:30pm, no appointment needed). We will cover the cost of the postage back to you. From a laptop, PC or Mac, we just require the drive out of your computer; storage soldered to the board (T2 and Apple silicon Macs, soldered laptop flash) is not taken on, and if you're unsure as to type, call us first. From a server or RAID set, just send the individual drives, all clearly labelled by bay. From a NAS, send the disks, each labelled by bay, if they come out; otherwise, send the entire NAS unit. A single external drive comes whole, with its cable and power supply. If you wish to review your packaging before posting, contact an engineer who will walk you through the process over the phone. All steps involved with the postage process are listed on the postage page.

Four things we hold to in database work.

Nothing is written backAll MDF, NDF, LDF & EDB files along with their respective logs will be forensically cloned prior to allowing any utilities to access them. Repair tools are heavy writers, so a clone is what makes a wrong decision reversible.
Kept for the very endREPAIR_ALLOW_DATA_LOSS will give you a consistent state in your database. It will do this by removing anything it can't read. That's why the warning is written into its name. This is always used here as a last resort: never first, never on your original data, and only ever against a copy (clone).
Examine the EDB before repairingA header read is safe and gives all of the information needed to begin work on repairing or restoring your data: how the failure occurred, which log generations are missing, and just how bad the failure was. A hard repair answers none of these questions. Any part that it can't read will be removed, and the case then turns into a migration.
The answer is usually underneathMany of the things that reach us described as "database corruption" are actually the underlying storage layer showing through: a member being dropped off an array, a write being cut short due to a power failure, a snapshot being captured mid-transaction. If you fix the file but don't touch the disk, you'll be back at square one with the same problem within weeks. That's why you'll see the server and RAID page right next to this one.

What happens between arrival and return.

01

Booked in, then assessed at no cost Free

Nothing is chargeable until you say yes. Every item gets a case number of its own immediately upon receipt, an engineer determines what has failed, and you get a clear picture of which files have a real possibility of being recovered. The single quote that follows is fixed, written down and does not cost anything.

Diagnosis at no costOne fixed quote, in writingNothing signed
02

A clone before any tool runs

The data files, logs and any backups you send us are cloned read-only. And if the disks underneath are themselves failing, the server and RAID process comes first, so that what we repair is a healthy image.

Imaged, never written toFailing disks come first
03

Rebuilt, replayed, read out

On this clone alone, the headers are rebuilt and the logs rolled forward as far as they can be trusted; beyond that, we rely on information contained within the page structures of this file to read out all table, mailbox and attachment data.

Trustworthy logs replayedOr pages lifted one by one
04

The engine has to agree first

No case will be closed without confirmation that the database is attached, the store mounted and that the query returned some rows. In addition, prior to closure of the case, the records you designated as critical will be manually opened and inspected.

It mounts and answersKey records opened by hand
05

Opened, verified, and sent home

You don't get charged anything until you've confirmed and authorised that everything is fine after seeing the entire list of what was recovered. Any recovered items are returned via brand-new storage media and the postage costs for these are covered by us. We do not consider a project complete here until we receive confirmation that you have been able to successfully access and review every item you received back.

You approve the list firstReturned on fresh mediaThe return post is ours

What tends to show up first

  • Suspect is not a determination of loss: Suspect indicates there is a log entry related to an incomplete replay operation. Not guessing what might have happened is typically the correct behaviour. Behind the flag, the tables should generally remain intact.
  • Error numbers represent locations: 823, 824 and 5171 each represent a specific location or area of interest within your file. Read them out over the phone and we can begin diagnosing issues before you have even packed the parcel.
  • Torn pages indicate hardware failure: when a database begins reporting that it cannot pass its self-checksum operations, it is often the earliest indication that the underlying hardware is failing.
  • Send us your backups: an old copy that no one trusted has saved a couple of jobs here on the bench already, and good ones have almost been overwritten while people were trying to restore quickly. Get a quote before you send anything, then send everything.

Two different finish lines: a "file recovery" completes once the recovered data can be accessed by reading the data (bytes). However, a "database recovery" doesn't complete until the database management system has successfully attached the file, mounted the database store and executed a query without an error message. The space between these two finish lines is referred to as "consistency", which is why some so-called "recovered" MDF files reach this bench still refusing to attach.

From the casebook, lately.

MH · MHD-2026-6851ON RECORD ✓

8:55am at a Beaconsfield practice: the SQL database flagged Suspect

An emergency repair had already been queued before the practice called, due to an overnight loss of power causing the database to become marked as Suspect. Forensic copies were made first, and they showed that replaying the transaction log was still possible. Attaching on that copy worked at the first attempt, leaving the morning's bookings twenty minutes delayed instead of a full week.

Reattached with no loss24 hours spent at the bench

Before the database files come to the lab.

Do these now

  • Shut down the database completely, then copy the MDF, LDF and logs.
  • Record exactly what the error message is, including the numbers.
  • Don’t delete anything, keep all backups regardless of age.
  • Tell us what application sits atop it.

Things best not done

  • Consider running REPAIR_ALLOW_DATA_LOSS early.
  • Attempt a hard repair on the mail store and hope.
  • Put it offline and online again.
  • Place a stale backup on top of the damaged data.

The questions that arise most often.

SQL Server has put my database in Suspect. What comes first?

Put your database offline, and save (or create) protected copies of the MDF and its log prior to attempting any operation against this version of the database. A Suspect database indicates that SQL Server was unable to finish replaying its log, typically due to a crash or stoppage during a write. This condition is generally recoverable. However, if you apply a well-intentioned repair to the original database files, this is what will destroy your database.

Can a database be recovered without its transaction log?

Generally, yes. Tables, indexes, and page information exist within the MDF file itself. Therefore, the MDF can usually be brought to a state where SQL Server will attach it, even where no log survives. If there were pending transactions at the point of failure that partially wrote data into new pages, they are identified as such and marked accordingly. These issues do not preclude attaching the MDF to SQL Server.

The EDB says Dirty Shutdown. Has the mail gone?

Rarely. All a Dirty Shutdown records is that there are log records the store has yet to commit. When you read the header of a database in order to determine which log generations remain outstanding, nothing is changed; you are simply determining which generations need to be replayed. Once those remaining records are replayed (soft recovery), mailboxes, etc., should be operational. It is the attempt at performing a hard repair that typically causes mailbox losses.

We repair it and the corruption comes back. Why?

Due to the fact that much of the time the problem does not reside in the database but rather in one or more of the drives used to store it. Much of the time damage that returns after each attempted repair is caused by a disk that is on its last leg, an array whose member(s) failed, or a cache in a controller that continues to write fresh errors into each repaired copy of the database. A good number of database jobs are really server recoveries, and both are addressed here.

Switched off, it keeps every chance it has.

Every additional power-up asks for even more of a drive that is already starting to fail. First open a case with us, and let the free diagnosis tell you how much remains.

0800 6890668