2.9M Rows Recovered After TRUNCATE
Recovered a truncated table after early intervention, using an image index and table structure scanning to export about 1GB of CSV data.
Main Timeline
- 1The target table was truncated and its original data file was no longer available through normal paths.
- 2The incident was handled within about three hours, reducing the chance of fragment overwrite.
- 1The site could not take a snapshot or copy the full disk.
- 2The recovery could not rely on inode-level file recovery and had to preserve fragment locations quickly.
- 1Initialized database, schema, table, and column metadata.
- 2Enabled isomode and ran ds idx to save the fragment image index.
- 3Generated the target table structure with meta tab.
- 4Ran ds iso to export importable CSV files from the image index and table definition.
- 1The image scan covered about 767,993 pages and produced about 6GB of index data.
- 2The target table scan covered 112,221 pages, recovered 2,906,414 rows, and reported 0 failures.
- 3The final output was three CSV files totaling about 1GB and was confirmed importable.