Initial situation
A customer needed to migrate projects from a server with a severely damaged disk. The source server was still partially accessible, but the storage had already lost part of the data and could no longer be treated as a reliable source for a standard migration. There were also no usable recent backups for one of the affected WordPress websites. The priority was therefore not simply to move the server. The Unihost support team had to recover as much information as possible from the damaged storage, preserve the latest available versions of the customer’s data and code, and rebuild the components that could no longer be recovered.
Technical Challenge
A normal server migration assumes that the source environment is internally consistent. Application files, databases, configuration files, and system data can usually be copied to the destination and then validated. A migration from damaged storage is different. Some files may still be readable, while others may be incomplete or permanently lost.
This creates several risks:
- application files may be corrupted;
- configuration files may be incomplete;
- different parts of the project may represent different points in time;
- copied files may appear normal but fail when the application starts;
- missing application components may only become visible after migration.
In this case, the WordPress installation had suffered significant file loss. Because no suitable backup was available, simply copying the remaining data to a new server was not enough to restore the website.
What the Unihost Team Did
1. Recovered as much data as possible from the damaged server
The first objective was to preserve everything that could still be read from the source disk. Rather than immediately rebuilding the project from scratch, the team copied the available project data from the damaged server. This was important for two reasons. First, it reduced the amount of manual reconstruction required later. Second, it helped preserve the most recent available versions of customer files, configuration, and application data instead of replacing the entire project with older or generic copies.
2. Identified missing and damaged application components
After transferring the recoverable files, the migrated applications were tested. Some applications failed to start because parts of their original data or configuration had been lost. For the affected WordPress website, significant portions of the WordPress application files were no longer available from the damaged disk. The website could therefore not be restored by migration alone.
3. Rebuilt the WordPress core
The support team reconstructed the missing WordPress core files using the official WordPress installation archive. The objective was to restore the standard application components without overwriting customer-specific content that had survived the disk failure. This allowed the team to rebuild the application framework around the data that could still be recovered.
4. Restored the required plugins
Some plugin files had also been lost. Where possible, the missing plugins were restored from their official distribution sources. The recovered website was then checked to ensure that the application could load the required components and that the remaining customer data was still usable.
5. Corrected configuration issues after migration
Because the recovered environment was assembled from both surviving data and restored application components, configuration inconsistencies had to be identified and corrected manually. The team reviewed the application configuration and adjusted the affected components until the WordPress site could start and operate normally again.
6. Tested the recovered website
After the WordPress core, plugins, and configuration had been restored, the website was tested on the new environment. The validation focused on confirming that the application started correctly and that the recoverable customer data remained available.
Why Recovery Was More Complex Than a Normal Migration
When the source storage is healthy, migration is mainly a transfer and validation task. With a failing disk, migration becomes a recovery operation.
The main objective changes from copying everything to determining:
- what data is still readable;
- which files are damaged or missing;
- what can be reconstructed from official sources;
- what customer-specific data must be preserved;
- which components need to be rebuilt manually.
Reinstalling the entire WordPress site from scratch would have been faster technically, but it would also have increased the risk of losing the latest customer-specific state. Recovering the usable parts first helped preserve as much of the original environment as possible.
Preventing the Same Problem
The incident also highlighted the importance of maintaining backups outside the production server. A backup stored only on the same physical server does not provide sufficient protection against disk failure. After the website had been restored, the Unihost team configured an additional backup process using remote storage. This ensured that future recovery would not depend solely on the condition of the production disks. The backup environment was separated from the source server so that a hardware failure affecting production storage would not also destroy the recovery copy.
Unihost Support Work
The work included damaged-disk migration assistance, recovery of readable project data, application troubleshooting after migration, manual WordPress recovery, WordPress core restoration from official sources, plugin restoration, configuration correction, website validation, and remote backup configuration.
Result
The WordPress website was successfully restored despite significant data loss on the original server and the absence of a usable backup. The team preserved as much information as possible from the damaged disk, manually rebuilt the missing WordPress components, corrected the application configuration, and returned the website to working condition. A remote backup was also configured to reduce the risk of a similar incident becoming a manual recovery project in the future.
Results at a glance: recoverable data preserved, WordPress core rebuilt, missing plugins restored, application configuration corrected, website returned to operation, remote backup added after recovery.