Show HN: InnoDB_rs – InnoDB 'Undelete' Toolkit in Rust(github.com)
github.com
Show HN: InnoDB_rs – InnoDB 'Undelete' Toolkit in Rust
https://github.com/Codetector1374/InnoDB_rs
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.
2 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.