A business relies on its database as the one file it truly can’t operate without, but this same database file is also the one most likely to fail in a way that stops everything. No matter what type of database (SQL, Exchange or MySQL) you’re using, if it crashes while writing data, runs out of space, loses access to its underlying storage media, or you enter an invalid query, your database can become unmountable, even though almost all of your valuable data is still stored within it. We repair and recover corrupted databases of every kind for businesses throughout the UK, with priority handling and NDAs as standard.
When a database won’t start, you’ll usually still have your records intact: it is just the way the data is organised within the database that is corrupted. This organisation can be fixed.
Ordinary files can be somewhat corrupted and still remain mostly usable. However, a database cannot be partially corrupted and continue working. It is this fact that creates such panic when a database goes down. The reason is because a database is a highly structured collection of pages, indexes, allocation maps and transaction logs. All of these elements must be self-consistent for the database engine to begin accessing the data. In other words, damage a few critical pages due to an application crashing during a write operation, a loss of power, disk space being consumed, or a failure in the underlying storage, and you may be unable to mount/access your entire database, or it may drop into a ‘suspect’ state (even though the vast majority of your records are still perfectly intact).
The good news is that “won’t mount” almost never means “lost”. Recovery is about fixing the underlying database structure (the pages and links that the database engine gets hung up on) at a low level, as well as recovering the tables, records and mailboxes in such a way that they are clean, consistent and mountable. This is precise work, specific to each database engine and its recovery process, but the actual data will usually still be there.
Won’t mount, or ‘suspect’ / ‘recovery pending’. The database refuses to go back online after a crash or an unclean shutdown, usually because of a consistency issue the database engine cannot get past, with your data intact behind it.
Corrupt or torn pages. If a write to disk is interrupted by either a power loss or some sort of storage failure in the middle of writing to disk, then one or more individual pages become either partially written or have failing checksums. In either case, the database engine identifies corruption in those pages, and it’s possible to fix them page by page.
A missing, full or corrupt transaction log. When transaction logs are corrupted or deleted, a database may not be able to mount, even when the actual files containing the data are fine. For example, if you have a SQL Server database and there is an issue with the LDF file (the file that contains the transaction logs), the database can fail to mount. Another reason is if the transaction logs fill the disk; this can also prevent a database from mounting.
Erased data or mistakenly dropped tables or incorrectly written queries. A user accidentally runs a DELETE, TRUNCATE or DROP; an UPDATE with no WHERE clause means all of the rows are updated instead of just the intended row(s); these can often be restored from either the data file(s) or the transaction log if they have not been overwritten yet.
Ransomware. Encrypted database file(s): in some cases, database files can be restored from previous versions, older backup files or remnants. It’s always worth having them assessed before wiping anything (see ransomware recovery).
Failed underlying storage. The database itself is okay, but the RAID, server or virtual machine (VM) it resides on failed: it’s recovered by rebuilding the storage system first, then the database.
The built-in ‘fix it’ commands are where a lot of recoverable data is lost. Before using any ‘fix it’ command for recovery:
Do not run a repair that allows data loss (like SQL Server’s REPAIR_ALLOW_DATA_LOSS) as a first move, because these types of repairs can eliminate the exact page(s)/record(s) that would otherwise be recoverable, and cannot be reversed. Do not detach a suspect database. A damaged database has the potential to fail when trying to reattach after being detached, and this makes what was recoverable much harder to recover. Do not restore a backup version of the database over the original corrupted version until you’ve made a duplicate of both the data and logs: you may need access to the original data, and the backups may contain data that doesn’t reflect current information. Lastly, do not continue to write to the corrupted database with your application. Instead, take a full copy of the data and log files at their present state, then stop and have them assessed by someone who knows what they’re doing: the original database is your best starting point.
Beginning with a copy of the data and log files, we will never touch the live database, and therefore our actions cannot make the original worse. Next, we will analyse the corruption at a very low level (the damaged pages, broken indexes and allocation structures, and inconsistencies in the logs that prevent the engine from starting) and repair or rebuild these to get the database to a consistent state. If it’s not possible to repair “in place”, we will extract the data directly from the pages: tables, rows, schema and, for Exchange, individual mailboxes and messages, recovered into a clean database or an exportable format. If the storage underneath failed, we will reconstruct that first. Our goal is always to deliver a mountable and usable database with as much of your data available as the damage allows, and to provide you with an honest account of anything that could not be saved.
We recover all major database systems, including Microsoft SQL Server (MDF, NDF and LDF file types), MySQL and MariaDB (both InnoDB and MyISAM), Microsoft Exchange (EDB stores and mailboxes), Oracle, PostgreSQL, Microsoft Access and SQLite, regardless of where your database system resides: on a physical server, within a VM or on cloud storage. As long as it’s a database, we’ll do our best to recover it, whether it was corrupted, suspect, dropped, deleted or simply got stuck behind a dead storage device.
Firstly we offer a free assessment: we will review a replica of your database, assess which repairs may be made and data recovered, and provide you with a fixed written quote prior to undertaking any billable work. Given that a downed database usually means a stopped business, we have a priority and emergency service available, along with NDAs and confidential handling as standard. Pricing is per case and will vary depending on the damage and the engine involved. First, get a quote over the telephone or via the form. Once you’ve received your quote, you can send your database files securely to us, or we can access them from the storage (using just the disks, removed from the server and labelled by bay); we support businesses throughout the UK and Ireland.
Usually, yes. A database marked suspect or recovery-pending has a consistency problem the engine can’t get past, but your records are almost always still there. We take a copy, we fix the bad pages and structures (at a very low level) so you can mount the database again, or pull out the records directly. Don’t run a “repair with data loss” yourself first, as it can discard recoverable records.
Beginning with this is not recommended. This command has SQL Server bring your database online by abandoning anything it cannot repair, which can permanently throw away pages or records that may otherwise have been recoverable, and once you’ve run this command there’s no going back. Obtain a full copy of both your data files and log files as they are, and have these files assessed for possible recovery before attempting any data-loss repair.
Often, yes. Frequently a DROP, TRUNCATE or DELETE that was done accidentally leaves the data in the database file (and/or transaction log) recoverable, provided you act before it’s overwritten. Stop writing to the database, create a copy of the data and logs as they exist at this time and have them evaluated quickly: the faster the capture, the better the end result.
Yes. We recover corrupted Exchange EDB stores. We will repair the store to a state where it can be mounted again, or extract specific mailboxes and messages so they can be imported into an operational system. Whether the entire store cannot be mounted or some individual mailboxes are damaged/affected, the data contained within them is usually still recoverable.
Sometimes (and it’s worth assessing this before anything is wiped). Depending on how the attack happened, we may be able to restore using your backup(s), previous versions of your file(s), snapshot(s) or even unencrypted portions that remain. Do not delete the encrypted files or wipe the servers until after they have been evaluated, as those paths could potentially be lost. See our ransomware recovery page for more.
Yes. Although our laboratory is located in Belfast, database recovery is often performed on files which have been sent to us securely, or on the storage itself, couriered to us. As such, we assist businesses all over the UK and Ireland. First, please contact us for a quote, either by telephone or using the quotation request form. To recover your data from the storage, please send us just the disks (taken from your server and labelled by disk bay) with the data stored upon them. As standard, we provide a priority service and treat your information confidentially by signing Non-Disclosure Agreements (NDAs). Your location will make no difference to the service we offer.
Please take a full copy of both your database(s) and associated logs exactly as they are, stop, and then contact us. We will then determine whether there is sufficient data contained within those files for us to repair and extract any usable data. Once we have determined this, we will provide you with a genuine and fixed price quotation before any chargeable work is undertaken, with a priority/emergency service available if required and a signed NDA as standard.