Hacker News new | ask | show | jobs
Show HN: InnoDB_rs – InnoDB 'Undelete' Toolkit in Rust (github.com)
8 points by codetector 686 days ago
I recently had the "opportunity" to recover a database from being accidentally `rm -rf`'ed. In the process decided the best route is to implement InnoDB storage format and scan the disk for any and all record we can still find.
1 comments

Configuring innodb file per table was pretty common years ago when I last worked with MySQL. I thought the entire file gets deleted if you nuke the table. This would be for the default config with a single innodb file right? To remove some tombstones.
Yeah this tool was written to help recover from accidentally `rm -rf` the entire mysql data folder. The `page_extractor` you can feed it the whole block device and extract all InnoDB pages that has checksum that match.