Marcelektro / undrop-for-innodb

[Fork] A fork with Docker support added | TwinDB data recovery toolkit for MySQL/InnoDB

Home Page:https://twindb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TwinDB data recovery toolkit


About this fork

I've added support for running this tool in a Docker container with ease.

Setup guide:

  1. Build the image using docker build -t undrop-for-innodb .
  2. Run the image in interactive mode: docker run --name undropforinnodb -it -v "$(pwd)/data:/main/run" undrop-for-innodb

Supported Failures

TwinDB Data Recovery Toolkit is a set of tools that operate with MySQL files at low level and allow to recover InnoDB databases after different failure scenarios.

The toolkit is also known as UnDrop for InnoDB, which is more accurate name because the toolkit works with InnoDB tables.

The tool recovers data when backups are not available. It supports recovery from following failures:

  • A table or database was dropped.
  • InnoDB table space corruption.
  • Hard disk failure.
  • File system corruption.
  • Records were deleted from a table.
  • A table was truncated.
  • InnoDB files were accidentally deleted.
  • A table was dropped and created empty one.

Installation

Undrop for InnoDB overview with installation instructions and demo. Undrop for InnoDB overview

The source code of the toolkit is hosted on GitHub. The tool has been developed on Linux, it’s known to work on CentOS 4,5,6,7, Debian, Ubuntu and Amazon Linux. Only 64 bit systems are supported.

To best way to get the source code is to clone it from GitHub.

git clone https://github.com/twindb/undrop-for-innodb.git

Prerequisites

The toolkit needs make, gcc, flex and bison to compile.

Compilation

To build the toolkit run make in the source code root:

# make

About

[Fork] A fork with Docker support added | TwinDB data recovery toolkit for MySQL/InnoDB

https://twindb.com

License:GNU General Public License v2.0


Languages

Language:C 92.0%Language:C++ 3.5%Language:Yacc 1.9%Language:Shell 0.8%Language:Lex 0.6%Language:SWIG 0.6%Language:Ruby 0.3%Language:Puppet 0.2%Language:Makefile 0.2%Language:Dockerfile 0.0%Language:Pascal 0.0%