I don’t know format of the snapshot you have, but you can try to feed it directly to the stream_parser. If the snapshot isn’t something compressed/encrypted the parser will find InnoDB pages in it.
stream_parser -f /path/to/snapshot
If the snapshot is available as a attached device you can use dd as described in Take image from corrupted hard drive.
stream_parser can also read directly from a device. So something like this will work, too:
stream_parser -f /dev/sdg
- Guest answered 3 years ago
- last edited 3 years ago
stream_parser -f /path/to/disk.img
skips a 300Gb img file in 0 seconds!
i think it’s a problem of the tool :
# bison -r all -o sql_parser.c sql_parser.y
sql_parser.y: warning: 6 shift/reduce conflicts [-Wconflicts-sr]
Please login first to submit.