---
title: SQL Server Database in SUSPECT Mode: What to Do Before Any Repair
url: https://recdati.de/en/guides/sql-server-database-suspect/
description: Your SQL Server database shows SUSPECT or RECOVERY_PENDING and the ERP or accounting software no longer starts? Causes, safe first steps and why REPAIR_ALLOW_DATA_LOSS is the last resort.
language: en
---

Business

# SQL Server database in SUSPECT mode: what to do before any repair

An ERP system, an accounting package or a practice software suddenly no longer starts, and the SQL Server Management Studio shows the database as SUSPECT. Many guides on the internet then recommend a sequence of commands ending with REPAIR_ALLOW_DATA_LOSS. The name says it: the repair deletes what it cannot read. In accounting data, that is rarely acceptable.

Published 28 November 20262 min readBy [Mirush Murataj](https://recdati.de/en/about-us/#author)

SUSPECT means SQL Server could not finish the recovery of the database at startup.

In short

- SUSPECT means SQL Server could not finish the recovery of the database at startup.
- First save the MDF, NDF and LDF files and the error log, with the service stopped.
- REPAIR_ALLOW_DATA_LOSS removes damaged pages and the records in them.

## What SUSPECT means

When SQL Server starts, it replays the transaction log of each database to bring it to a consistent state. If this fails, because a page is damaged, the log is missing or a file cannot be opened, the database is marked SUSPECT or RECOVERY_PENDING. It is not deleted, but no one can use it.

## Common causes

- The disk or RAID below the database has read errors.
- The server lost power, and the write cache of the controller was not protected.
- The disk holding the log file was full.
- An antivirus program or a backup tool locked the database files.

## Safe first steps

1. Read the SQL Server error log and the Windows event log. The exact error number and the page ID tell a lot.
2. Stop the SQL Server service.
3. Copy the MDF, NDF and LDF files to another disk. Without this copy, every later step is a gamble.
4. Check the health of the disks or the array.
5. Look for the most recent full backup and the log backups after it. A restore from backup is often the cleanest way.

## Why the repair command is the last resort

`DBCC CHECKDB` with `REPAIR_ALLOW_DATA_LOSS` removes pages it cannot repair, and with them the rows they hold. It also breaks links between tables. For an ERP database, this can mean invoices without lines, or bookings without an account. Microsoft itself describes it as the last option, after a restore. If you have no usable backup, have the files examined before you run it.

## Data protection

Databases often contain customer or patient data. If the cause was an attack or the data could have reached third parties, check your obligations under Article 33 of the GDPR. The lab works under a data processing agreement and does not keep copies after the job.

## In the lab

The files are copied, and if needed the disks below them first. The lab reads the database pages directly, without SQL Server, checks each one, and rebuilds tables from the readable pages. Records from damaged pages can often be taken from the log file or from older page versions. The result is a database you can attach again, with a report on what was missing.

More on servers: [server data recovery](https://recdati.de/en/data-recovery/server/). If the database ran on a virtual machine: [virtual machines data recovery](https://recdati.de/en/data-recovery/virtual-machines/).

## Frequently asked questions

Can I set the database to EMERGENCY mode myself?

You can, and it lets you read some data. Do it only on a copy of the files, not on the original.

Does the software vendor need to be involved?

It helps. They know the structure of their tables and can check the result after the recovery.

Which SQL Server versions can be read?

All common versions from 2008 to 2022, and the Express edition used by many small business programs.

## Official sources and useful links

- [Microsoft Learn](https://learn.microsoft.com/): Official Microsoft documentation: Windows Server, Storage Spaces, Hyper-V and SQL Server.
- [General Data Protection Regulation (EU) 2016/679](https://eur-lex.europa.eu/eli/reg/2016/679/oj): Official text of the GDPR, including Art. 28 (processors), Art. 32 (security) and Art. 33 (breach notification).

Share this guide

- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frecdati.de%2Fen%2Fguides%2Fsql-server-database-suspect%2F)
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Frecdati.de%2Fen%2Fguides%2Fsql-server-database-suspect%2F)
- [WhatsApp](https://wa.me/?text=https%3A%2F%2Frecdati.de%2Fen%2Fguides%2Fsql-server-database-suspect%2F)
- [Email](mailto:?body=https%3A%2F%2Frecdati.de%2Fen%2Fguides%2Fsql-server-database-suspect%2F)
-

Cite this article

Murataj, Mirush. "SQL Server database in SUSPECT mode: what to do before any repair". RecDati, 28 November 2026. https://recdati.de/en/guides/sql-server-database-suspect/

Are these files business-critical?

Stop every repair attempt that writes to the disks. The lab diagnosis is free and you receive a fixed price before anything is done.

[Request a free diagnosis](https://recdati.de/en/free-diagnosis/) [Server data recovery](https://recdati.de/en/data-recovery/server/)

Case like this one?

Free diagnosis, no obligation, answer within 2 hours.

[Free diagnosis](https://recdati.de/en/free-diagnosis/)

## Read next

- [Windows Storage Spaces pool degraded or detached: safe next stepsStorage Spaces is the software RAID built into Windows. It is popular on small servers and workstations…](https://recdati.de/en/guides/storage-spaces-pool-degraded/)
- [VMFS datastore missing after an ESXi update: causes and recoveryThe host comes back after the update, but the datastore with the virtual machines is gone. The VMs show as…](https://recdati.de/en/guides/vmfs-datastore-missing-after-esxi-update/)
- [Deleted files on an SSD: why TRIM usually erases them for goodOn a hard drive, a deleted file stays on the platter until something overwrites it. On an SSD, the operating…](https://recdati.de/en/guides/ssd-deleted-files-trim/)
- [Dropped hard drive: what happens inside and why you should not switch it on againAn external hard drive slips off the desk, a laptop falls off the sofa. Afterwards the drive clicks, beeps…](https://recdati.de/en/guides/dropped-hard-drive/)
- [Btrfs checksum errors on a NAS: what the message really meansBtrfs stores a checksum for every block of data. When a block no longer matches its checksum, the NAS refuses…](https://recdati.de/en/guides/btrfs-checksum-errors-on-a-nas/)
- [RAID controller replaced and "foreign configuration" found: import or not?A server is moved, a controller is replaced after a fault, or disks are put into a new chassis. On boot, the…](https://recdati.de/en/guides/raid-controller-replaced-foreign-config/)

Switch the device off, leave it as it is and let the lab have a look first.

[Free diagnosis](https://recdati.de/en/free-diagnosis/)
