4 ms·
Show HN: InnoDB_rs – InnoDB 'Undelete' Toolkit in Rust
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.
- protosam 2y agoConfiguring 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.
- codetector 2y agoYeah 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.