slider

creating image from snapshot and use stream parser

  1. Backup and Data Recovery for MySQL
  2. creating image from snapshot and use stream parser
0
0

I have an image/snapshot of my VPS after I dropped a database, how can I  create disk image from the snapshot and use it as an input to stream parser ??

  • You must to post comments
0
0

Aditya,

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
  • You must to post comments
0
0

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]

#

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.