Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twindb/undrop-for-innodb
TwinDB data recovery toolkit for MySQL/InnoDB
https://github.com/twindb/undrop-for-innodb
Last synced: 2 months ago
JSON representation
TwinDB data recovery toolkit for MySQL/InnoDB
- Host: GitHub
- URL: https://github.com/twindb/undrop-for-innodb
- Owner: twindb
- License: gpl-2.0
- Created: 2015-07-02T03:55:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T15:41:00.000Z (over 1 year ago)
- Last Synced: 2024-08-02T07:10:37.076Z (5 months ago)
- Language: C
- Homepage: https://twindb.com
- Size: 1.14 MB
- Stars: 377
- Watchers: 18
- Forks: 147
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-mysql - UnDROP - a tool to recover data from dropped or corrupted InnoDB tables. (Toolkits)
README
# TwinDB data recovery toolkit
## Supported Failures[![Join the chat at https://gitter.im/twindb/undrop-for-innodb](https://badges.gitter.im/Join%20Chat.svg)](https://matrix.to/#/#twindb_undrop-for-innodb_undrop-for-innodb:gitter.im)
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.
## InstallationUndrop for InnoDB overview with installation instructions and demo.
[![Undrop for InnoDB overview](https://img.youtube.com/vi/-1LeLhGjAWM/0.jpg)](https://www.youtube.com/watch?v=-1LeLhGjAWM)### From packages
For Ubuntu `focal` and `jammy` you can install the toolkit from
a Debian package.```shell
# export CODENAME="jammy"
# curl "https://infrahouse-release-$CODENAME.s3.us-west-1.amazonaws.com/pool/main/u/undrop-for-innodb/undrop-for-innodb_2.0.0-1_amd64.deb" > undrop-for-innodb_2.0.0-1_amd64.deb
# apt install ./undrop-for-innodb_2.0.0-1_amd64.deb
```### From sources
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
```