Nothing is written backEvery MDF, NDF, LDF and EDB, with its log set, is forensically imaged before a utility is allowed near it. Repair tools are heavy writers. A clone is what makes a wrong decision reversible.
Kept for the very endREPAIR_ALLOW_DATA_LOSS will hand you a consistent database, and it does so by deleting whatever it cannot parse. The warning is written into the name. Here it is a final option, never the opening move, and only ever run against a clone.
Examine the EDB before repairingA header read is non-destructive, and it answers the questions that decide the job: how the store went down, which log generations are missing, and how deep the damage runs. A hard repair answers none of that. What it cannot read it removes, and the case turns into a migration.
The answer is usually underneathMuch of what reaches us described as ‘database corruption’ is the storage layer showing through: a member dropped from an array, a write interrupted by power loss, a snapshot caught mid-transaction. Mend the file, leave the disk as it was, and the same damage returns within weeks, which is why the server and RAID page sits beside this one.