8000 GitHub - adfinis/leveldb-repairdb: Statically linked binary to repair leveldb databases · GitHub
[go: up one dir, main page]

Skip to content

About

Statically linked binary to repair leveldb databases

Topics

Resources

Stars

4 stars

Watchers

14 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

leveldb-repairdb

License: MIT

This repo contains the source for a statically linked binary that repairs leveldb databases using the official Google C++ library. Check out the repository using git clone --recursive to also check out the leveldb and snappy libraries.

Build

Just run make, this will automatically build leveldb and snappy and build a static binary called leveldb-repairdb.

Usage

Change to the directory where the database that needs to be repaired resides and execute leveldb-repairdb. The binary will have the returncode 0 when the repair was successful and 1 when it failed.

Example:

$ cd /aptly/.aptly/db/
$ leveldb-repairdb
Repairing the database in the current directory.
Repairing the database was sucessful.

About

Statically linked binary to repair leveldb databases

Topics

Resources

Stars

4 stars

Watchers

14 watching

Forks

Releases

Packages

Contributors

Languages

0