A mirrored server can survive a failed disk and still lose a product range. Here’s how to tell a RAID rebuild from a catalogue recovery.

At 10.14 am, a parts supplier imports a new price list. The import also removes every discontinued line, including the spare parts its customers still order by phone. At 10.22 a trade customer buys a pump. At 10.31 the warehouse spots the missing catalogue. The host checks the server and reports that both disks are healthy.
That answer can be entirely accurate. In this example the database accepted the import and recorded the changes. The disks completed the writes they were given. The warehouse needs a version of the catalogue from before 10.14, and the customer who bought the pump still needs their order.
Take a simple two-drive RAID 1 mirror. The storage system writes the same data to both drives. If one drive fails, the surviving member can supply the data. When a replacement joins the mirror, the storage system rebuilds redundancy by copying the current state onto it. The replacement will contain the pump order. It will also contain the catalogue as it stands after the unfortunate import. IBM’s explanation of mirrored-drive recovery.
A mirror can show healthy while the shop contains precisely the wrong information. From the array’s point of view, a legitimate price update and a mistaken deletion are both writes. Nothing about a green drive light tells a warehouse manager whether the discontinued pump seal belongs on the shelf.
Pause the import job so another run cannot repeat the deletion. Save its input file and activity log. Give support the shop’s time zone, the approximate start and finish, and a handful of missing product codes. Identify one order placed afterwards that must survive. These details let someone inspect an earlier copy without rolling a live shop backwards on a hunch.
What can be recovered depends on the history the system kept. For example, PostgreSQL can combine a base backup with a continuous archive of its write-ahead log to recover a database cluster to an earlier point. The archive has to cover the relevant interval. Recovery at that level applies to the cluster, so pulling out a handful of catalogue items takes a further step. PostgreSQL’s point-in-time recovery documentation.
Ask the person doing the recovery to open the earlier database in an isolated environment. Have the catalogue owner compare a few affected items with the current shop, including their variants, prices and stock links. Then agree on an application-supported way to reintroduce the selected records. An older catalogue can contain other legitimate changes you would lose by importing it wholesale.
Hand the warehouse one small acceptance test. Look up a previously missing seal by product code, open the correct variant, then find the 10.22 pump order in the live order book. If the drive itself failed, the infrastructure team may have a rebuild to finish. If the catalogue disappeared in an import, proof of recovery is a spare part on screen and a customer order still waiting to ship.
Removable drives fill the shelves of an HP EVA4400 storage array. Cover image: HP EVA4400-1 by Redline · CC BY-SA 3.0. Cropped and resized for Sitecove. The cropped photograph is also available under CC BY-SA 3.0.
Written by Sitecove Team
The Sitecove Team writes about hosting, WordPress, search and measurement for the people responsible for business websites.